{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "import pandas as pd\n",
    "from funcs import *\n",
    "import warnings\n",
    "warnings.filterwarnings(\"ignore\")"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 候选变量合并"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "(1430, 51)"
      ]
     },
     "execution_count": 2,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "#季度特征\n",
    "feature_base =pd.read_csv('./data/features_card.csv',index_col=0)\n",
    "feature_trade = pd.read_csv('./new_out/3m_feature_trade.csv',index_col=0)\n",
    "feature_loan = pd.read_csv('./new_out/3m_loan_all.csv')\n",
    "tmp = feature_loan[['客户','起算日期','应收单号','收款状态','zq_day','yq_day','季度逾期占比', '季度提前还款占比', '季度平均逾期天数']]\n",
    "feature_all = feature_trade.merge(tmp,left_index=True,right_on='应收单号',how='left')\n",
    "feature_all =feature_base.merge(feature_all,left_index=True,right_on='客户',how='right')\n",
    "feature_all.shape"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "(1391, 84)"
      ]
     },
     "execution_count": 3,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "#所有历史特征\n",
    "loan_all =pd.read_csv('./data/loan_all.csv')\n",
    "trade_all =pd.read_csv('./data/zq_feature_trade.csv',index_col=0)\n",
    "tmp =trade_all.merge(loan_all[['4天以内占比','5-10天占比','11天以上占比','逾期占比','提前还款占比','平均逾期天数','应收单号']],\n",
    "                     left_index=True,right_on='应收单号',how='left')\n",
    "tmp.columns = pd.Series(tmp.columns).apply(lambda x:'历史_'+x if x!='应收单号' else x)\n",
    "feature_all =feature_all.merge(tmp,on='应收单号',how='left')\n",
    "feature_all =feature_all[feature_all['收款状态']=='已收款']\n",
    "feature_all.shape"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "(1391, 92)"
      ]
     },
     "execution_count": 4,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "#交叉特征\n",
    "feature_all['订单时间间隔均值变化'] = feature_all['订单时间间隔均值（天）'] /feature_all['历史_订单时间间隔均值（天）']\n",
    "feature_all['交易额均值变化'] = feature_all['交易额均值'] /feature_all['历史_交易额均值']\n",
    "feature_all['交易稳定性变化'] = feature_all['交易稳定性']/feature_all['历史_交易稳定性']\n",
    "feature_all['账期订单交易量均值变化'] = feature_all['账期订单交易量均值'] /feature_all['历史_账期订单交易量均值']\n",
    "feature_all['账期订单交易额均值变化'] = feature_all['账期订单交易额均值'] /feature_all['历史_账期订单交易额均值']\n",
    "feature_all['逾期占比变化'] = feature_all['季度逾期占比'] /feature_all['历史_逾期占比']\n",
    "feature_all['提前还款占比变化'] = feature_all['季度提前还款占比'] /feature_all['历史_提前还款占比']\n",
    "feature_all['平均逾期天数变化'] = feature_all['季度平均逾期天数'] /feature_all['历史_平均逾期天数']\n",
    "feature_all.shape"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "((1391, 88),\n",
       " Index([u'注册地址', u'注册资本变更', u'法人变更', u'分支机构', u'商标专利', u'场地归属', u'有无贷款',\n",
       "        u'企业征信', u'涉诉信息', u'下游客户情况', u'注册时间', u'实收资本', u'员工人数', u'厂房面积',\n",
       "        u'资产负债率', u'流动比率', u'净资产', u'货币资金', u'存货周转天数', u'应收账款周转天数', u'主营业务利润率',\n",
       "        u'净资产增长率', u'销售增长率', u'当地经济环境', u'撮合单数', u'订单总数', u'订单时间间隔均值（天）',\n",
       "        u'订单时间间隔方差（天）', u'交易总量', u'交易量最大值', u'交易量最小值', u'交易量方差', u'交易量均值',\n",
       "        u'交易额总量', u'交易额最大值', u'交易额最小值', u'交易额方差', u'交易额均值', u'交易稳定性', u'账期订单占比',\n",
       "        u'账期订单交易量均值', u'账期订单交易额均值', u'zq_day', u'季度逾期占比', u'季度提前还款占比',\n",
       "        u'季度平均逾期天数', u'历史_订单总数', u'历史_合作时间（月）', u'历史_最近交易（X月之前）',\n",
       "        u'历史_最近连续交易月数', u'历史_采购断档总月数', u'历史_订单时间间隔均值（天）', u'历史_订单时间间隔方差（天）',\n",
       "        u'历史_交易总量', u'历史_交易量最大值', u'历史_交易量最小值', u'历史_交易量方差', u'历史_交易量均值',\n",
       "        u'历史_交易额总量', u'历史_交易额最大值', u'历史_交易额最小值', u'历史_交易额方差', u'历史_交易额均值',\n",
       "        u'历史_交易稳定性', u'历史_供应商数量', u'历史_采购产品种类数量', u'历史_账期订单占比', u'历史_账期订单交易量均值',\n",
       "        u'历史_账期订单交易额均值', u'历史_账期合作时间（月）', u'历史_最近一笔账期订单（X月之前）',\n",
       "        u'历史_采购频率（订单总数/合作月数）', u'历史_采购聚集程度（订单总数/供应商数）', u'历史_4天以内占比',\n",
       "        u'历史_5-10天占比', u'历史_11天以上占比', u'历史_逾期占比', u'历史_提前还款占比', u'历史_平均逾期天数',\n",
       "        u'订单时间间隔均值变化', u'交易额均值变化', u'交易稳定性变化', u'账期订单交易量均值变化', u'账期订单交易额均值变化',\n",
       "        u'逾期占比变化', u'提前还款占比变化', u'平均逾期天数变化', u'label'],\n",
       "       dtype='object'))"
      ]
     },
     "execution_count": 6,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "#排序,打标签\n",
    "tmp_col = ['客户','收款状态','yq_day','起算日期']\n",
    "feature_all =feature_all.sort_values(by='起算日期')\n",
    "zq_3m =label_zq(feature_all,tmp_col)\n",
    "zq_3m.to_csv('./out1/samples_all_88.csv')\n",
    "zq_3m.shape,zq_3m.columns"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style>\n",
       "    .dataframe thead tr:only-child th {\n",
       "        text-align: right;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: left;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>count</th>\n",
       "      <th>mean</th>\n",
       "      <th>std</th>\n",
       "      <th>min</th>\n",
       "      <th>25%</th>\n",
       "      <th>50%</th>\n",
       "      <th>75%</th>\n",
       "      <th>max</th>\n",
       "      <th>null_ratio</th>\n",
       "      <th>ivs</th>\n",
       "      <th>pearson_label</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>注册地址</th>\n",
       "      <td>1331.0</td>\n",
       "      <td>5.762585e-01</td>\n",
       "      <td>4.943362e-01</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000e+00</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>0.043134</td>\n",
       "      <td>0.091191</td>\n",
       "      <td>0.100858</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>注册资本变更</th>\n",
       "      <td>1331.0</td>\n",
       "      <td>1.382419e-01</td>\n",
       "      <td>3.452835e-01</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000e+00</td>\n",
       "      <td>0.000000e+00</td>\n",
       "      <td>0.000000e+00</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>0.043134</td>\n",
       "      <td>0.012971</td>\n",
       "      <td>0.039383</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>法人变更</th>\n",
       "      <td>1331.0</td>\n",
       "      <td>4.658152e-02</td>\n",
       "      <td>2.108200e-01</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000e+00</td>\n",
       "      <td>0.000000e+00</td>\n",
       "      <td>0.000000e+00</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>0.043134</td>\n",
       "      <td>0.001012</td>\n",
       "      <td>-0.000621</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>分支机构</th>\n",
       "      <td>1331.0</td>\n",
       "      <td>9.090909e-02</td>\n",
       "      <td>2.875878e-01</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000e+00</td>\n",
       "      <td>0.000000e+00</td>\n",
       "      <td>0.000000e+00</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>0.043134</td>\n",
       "      <td>0.001803</td>\n",
       "      <td>0.009891</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>商标专利</th>\n",
       "      <td>1331.0</td>\n",
       "      <td>6.198347e-01</td>\n",
       "      <td>4.856097e-01</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000e+00</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>0.043134</td>\n",
       "      <td>0.092123</td>\n",
       "      <td>0.100191</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>场地归属</th>\n",
       "      <td>1331.0</td>\n",
       "      <td>3.471074e-01</td>\n",
       "      <td>4.762292e-01</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000e+00</td>\n",
       "      <td>0.000000e+00</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>0.043134</td>\n",
       "      <td>0.118460</td>\n",
       "      <td>0.121791</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>有无贷款</th>\n",
       "      <td>1244.0</td>\n",
       "      <td>7.974277e-01</td>\n",
       "      <td>4.020780e-01</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>0.105679</td>\n",
       "      <td>0.039329</td>\n",
       "      <td>0.066343</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>企业征信</th>\n",
       "      <td>992.0</td>\n",
       "      <td>1.508065e+00</td>\n",
       "      <td>8.172802e-01</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>2.000000e+00</td>\n",
       "      <td>4.000000e+00</td>\n",
       "      <td>0.286844</td>\n",
       "      <td>0.236759</td>\n",
       "      <td>0.112246</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>涉诉信息</th>\n",
       "      <td>1331.0</td>\n",
       "      <td>3.688956e-01</td>\n",
       "      <td>6.682219e-01</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000e+00</td>\n",
       "      <td>0.000000e+00</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>4.000000e+00</td>\n",
       "      <td>0.043134</td>\n",
       "      <td>0.068035</td>\n",
       "      <td>0.057467</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>下游客户情况</th>\n",
       "      <td>1202.0</td>\n",
       "      <td>2.572379e+00</td>\n",
       "      <td>9.988349e-01</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>2.000000e+00</td>\n",
       "      <td>2.000000e+00</td>\n",
       "      <td>4.000000e+00</td>\n",
       "      <td>4.000000e+00</td>\n",
       "      <td>0.135873</td>\n",
       "      <td>0.323262</td>\n",
       "      <td>-0.146150</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>注册时间</th>\n",
       "      <td>1331.0</td>\n",
       "      <td>1.049887e+01</td>\n",
       "      <td>4.675464e+00</td>\n",
       "      <td>1.500000</td>\n",
       "      <td>6.000000e+00</td>\n",
       "      <td>1.000000e+01</td>\n",
       "      <td>1.600000e+01</td>\n",
       "      <td>2.100000e+01</td>\n",
       "      <td>0.043134</td>\n",
       "      <td>0.083627</td>\n",
       "      <td>0.042638</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>实收资本</th>\n",
       "      <td>1331.0</td>\n",
       "      <td>8.044546e+02</td>\n",
       "      <td>1.116639e+03</td>\n",
       "      <td>30.000000</td>\n",
       "      <td>5.000000e+01</td>\n",
       "      <td>2.000000e+02</td>\n",
       "      <td>1.300000e+03</td>\n",
       "      <td>4.036440e+03</td>\n",
       "      <td>0.043134</td>\n",
       "      <td>0.232447</td>\n",
       "      <td>0.113229</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>员工人数</th>\n",
       "      <td>1331.0</td>\n",
       "      <td>1.504358e+02</td>\n",
       "      <td>1.846981e+02</td>\n",
       "      <td>10.000000</td>\n",
       "      <td>5.000000e+01</td>\n",
       "      <td>8.000000e+01</td>\n",
       "      <td>2.000000e+02</td>\n",
       "      <td>7.000000e+02</td>\n",
       "      <td>0.043134</td>\n",
       "      <td>0.186933</td>\n",
       "      <td>0.160334</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>厂房面积</th>\n",
       "      <td>1331.0</td>\n",
       "      <td>2.458936e+04</td>\n",
       "      <td>4.166366e+04</td>\n",
       "      <td>200.000000</td>\n",
       "      <td>3.000000e+03</td>\n",
       "      <td>8.000000e+03</td>\n",
       "      <td>2.000000e+04</td>\n",
       "      <td>1.600000e+05</td>\n",
       "      <td>0.043134</td>\n",
       "      <td>0.169944</td>\n",
       "      <td>0.142412</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>资产负债率</th>\n",
       "      <td>1331.0</td>\n",
       "      <td>7.234007e+01</td>\n",
       "      <td>1.949537e+01</td>\n",
       "      <td>5.000000</td>\n",
       "      <td>6.400000e+01</td>\n",
       "      <td>7.729000e+01</td>\n",
       "      <td>8.700000e+01</td>\n",
       "      <td>9.500000e+01</td>\n",
       "      <td>0.043134</td>\n",
       "      <td>0.264741</td>\n",
       "      <td>0.130753</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>流动比率</th>\n",
       "      <td>1045.0</td>\n",
       "      <td>1.458665e+02</td>\n",
       "      <td>2.078480e+02</td>\n",
       "      <td>22.730000</td>\n",
       "      <td>9.800000e+01</td>\n",
       "      <td>1.090000e+02</td>\n",
       "      <td>1.320000e+02</td>\n",
       "      <td>1.646000e+03</td>\n",
       "      <td>0.248742</td>\n",
       "      <td>0.297838</td>\n",
       "      <td>-0.083507</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>净资产</th>\n",
       "      <td>1331.0</td>\n",
       "      <td>8.436153e+02</td>\n",
       "      <td>9.179821e+02</td>\n",
       "      <td>53.000000</td>\n",
       "      <td>1.520000e+02</td>\n",
       "      <td>2.550000e+02</td>\n",
       "      <td>1.288000e+03</td>\n",
       "      <td>4.171000e+03</td>\n",
       "      <td>0.043134</td>\n",
       "      <td>0.078774</td>\n",
       "      <td>0.050171</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>货币资金</th>\n",
       "      <td>1028.0</td>\n",
       "      <td>2.382625e+02</td>\n",
       "      <td>3.580792e+02</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>3.600000e+01</td>\n",
       "      <td>1.030000e+02</td>\n",
       "      <td>3.234000e+02</td>\n",
       "      <td>2.216000e+03</td>\n",
       "      <td>0.260963</td>\n",
       "      <td>0.098360</td>\n",
       "      <td>0.171135</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>存货周转天数</th>\n",
       "      <td>1032.0</td>\n",
       "      <td>5.532609e+01</td>\n",
       "      <td>9.692956e+01</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>5.000000e+00</td>\n",
       "      <td>1.500000e+01</td>\n",
       "      <td>8.463000e+01</td>\n",
       "      <td>7.890000e+02</td>\n",
       "      <td>0.258088</td>\n",
       "      <td>0.271149</td>\n",
       "      <td>0.090102</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>应收账款周转天数</th>\n",
       "      <td>1096.0</td>\n",
       "      <td>8.818755e+01</td>\n",
       "      <td>4.976174e+01</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>4.900000e+01</td>\n",
       "      <td>8.600000e+01</td>\n",
       "      <td>1.178600e+02</td>\n",
       "      <td>2.930000e+02</td>\n",
       "      <td>0.212078</td>\n",
       "      <td>0.067704</td>\n",
       "      <td>-0.086167</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>主营业务利润率</th>\n",
       "      <td>1090.0</td>\n",
       "      <td>1.035938e+01</td>\n",
       "      <td>5.601759e+00</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>7.000000e+00</td>\n",
       "      <td>9.000000e+00</td>\n",
       "      <td>1.300000e+01</td>\n",
       "      <td>3.000000e+01</td>\n",
       "      <td>0.216391</td>\n",
       "      <td>0.079296</td>\n",
       "      <td>0.101716</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>净资产增长率</th>\n",
       "      <td>1041.0</td>\n",
       "      <td>8.613022e+01</td>\n",
       "      <td>2.818335e+02</td>\n",
       "      <td>-22.000000</td>\n",
       "      <td>4.000000e+00</td>\n",
       "      <td>1.500000e+01</td>\n",
       "      <td>4.100000e+01</td>\n",
       "      <td>2.140000e+03</td>\n",
       "      <td>0.251618</td>\n",
       "      <td>0.027378</td>\n",
       "      <td>-0.041839</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>销售增长率</th>\n",
       "      <td>1036.0</td>\n",
       "      <td>4.199425e+01</td>\n",
       "      <td>8.271477e+01</td>\n",
       "      <td>-37.000000</td>\n",
       "      <td>0.000000e+00</td>\n",
       "      <td>1.200000e+01</td>\n",
       "      <td>3.800000e+01</td>\n",
       "      <td>1.055000e+03</td>\n",
       "      <td>0.255212</td>\n",
       "      <td>0.003949</td>\n",
       "      <td>-0.027533</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>当地经济环境</th>\n",
       "      <td>1261.0</td>\n",
       "      <td>7.620460e+00</td>\n",
       "      <td>1.263873e+00</td>\n",
       "      <td>4.800000</td>\n",
       "      <td>7.100000e+00</td>\n",
       "      <td>8.200000e+00</td>\n",
       "      <td>8.600000e+00</td>\n",
       "      <td>8.800000e+00</td>\n",
       "      <td>0.093458</td>\n",
       "      <td>0.063260</td>\n",
       "      <td>0.037850</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>撮合单数</th>\n",
       "      <td>1266.0</td>\n",
       "      <td>6.701422e+00</td>\n",
       "      <td>2.205690e+01</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000e+00</td>\n",
       "      <td>0.000000e+00</td>\n",
       "      <td>2.000000e+00</td>\n",
       "      <td>1.080000e+02</td>\n",
       "      <td>0.089863</td>\n",
       "      <td>0.037379</td>\n",
       "      <td>-0.038716</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>订单总数</th>\n",
       "      <td>1367.0</td>\n",
       "      <td>7.625457e+00</td>\n",
       "      <td>4.807284e+00</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>4.000000e+00</td>\n",
       "      <td>7.000000e+00</td>\n",
       "      <td>1.000000e+01</td>\n",
       "      <td>2.500000e+01</td>\n",
       "      <td>0.017254</td>\n",
       "      <td>0.170247</td>\n",
       "      <td>0.144028</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>订单时间间隔均值（天）</th>\n",
       "      <td>1288.0</td>\n",
       "      <td>1.775336e+01</td>\n",
       "      <td>1.192618e+01</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>1.072727e+01</td>\n",
       "      <td>1.420000e+01</td>\n",
       "      <td>2.000000e+01</td>\n",
       "      <td>9.900000e+01</td>\n",
       "      <td>0.074047</td>\n",
       "      <td>0.080420</td>\n",
       "      <td>-0.055033</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>订单时间间隔方差（天）</th>\n",
       "      <td>1288.0</td>\n",
       "      <td>1.093696e+01</td>\n",
       "      <td>8.478446e+00</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>5.847830e+00</td>\n",
       "      <td>9.202355e+00</td>\n",
       "      <td>1.362534e+01</td>\n",
       "      <td>6.646804e+01</td>\n",
       "      <td>0.074047</td>\n",
       "      <td>0.051398</td>\n",
       "      <td>-0.045563</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>交易总量</th>\n",
       "      <td>1367.0</td>\n",
       "      <td>4.140675e+02</td>\n",
       "      <td>4.819813e+02</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>1.296550e+02</td>\n",
       "      <td>2.260000e+02</td>\n",
       "      <td>4.760000e+02</td>\n",
       "      <td>2.396250e+03</td>\n",
       "      <td>0.017254</td>\n",
       "      <td>0.144326</td>\n",
       "      <td>0.145341</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>交易量最大值</th>\n",
       "      <td>1367.0</td>\n",
       "      <td>8.627686e+01</td>\n",
       "      <td>8.122875e+01</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>3.000000e+01</td>\n",
       "      <td>5.600000e+01</td>\n",
       "      <td>1.240000e+02</td>\n",
       "      <td>4.030000e+02</td>\n",
       "      <td>0.017254</td>\n",
       "      <td>0.079064</td>\n",
       "      <td>0.124071</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>历史_交易额总量</th>\n",
       "      <td>1367.0</td>\n",
       "      <td>5.163139e+06</td>\n",
       "      <td>5.792715e+06</td>\n",
       "      <td>7450.000000</td>\n",
       "      <td>1.495930e+06</td>\n",
       "      <td>3.144900e+06</td>\n",
       "      <td>6.079100e+06</td>\n",
       "      <td>2.923242e+07</td>\n",
       "      <td>0.017254</td>\n",
       "      <td>0.055413</td>\n",
       "      <td>0.104235</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>历史_交易额最大值</th>\n",
       "      <td>1367.0</td>\n",
       "      <td>6.527587e+05</td>\n",
       "      <td>5.207202e+05</td>\n",
       "      <td>7450.000000</td>\n",
       "      <td>3.018000e+05</td>\n",
       "      <td>4.284000e+05</td>\n",
       "      <td>9.083000e+05</td>\n",
       "      <td>2.115750e+06</td>\n",
       "      <td>0.017254</td>\n",
       "      <td>0.105417</td>\n",
       "      <td>0.106235</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>历史_交易额最小值</th>\n",
       "      <td>1367.0</td>\n",
       "      <td>1.087004e+05</td>\n",
       "      <td>8.812884e+04</td>\n",
       "      <td>271.000000</td>\n",
       "      <td>1.886500e+04</td>\n",
       "      <td>1.287600e+05</td>\n",
       "      <td>1.523600e+05</td>\n",
       "      <td>1.017225e+06</td>\n",
       "      <td>0.017254</td>\n",
       "      <td>0.134016</td>\n",
       "      <td>-0.120626</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>历史_交易额方差</th>\n",
       "      <td>1319.0</td>\n",
       "      <td>1.647091e+05</td>\n",
       "      <td>1.523265e+05</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>5.866443e+04</td>\n",
       "      <td>1.049896e+05</td>\n",
       "      <td>2.780400e+05</td>\n",
       "      <td>9.718940e+05</td>\n",
       "      <td>0.051761</td>\n",
       "      <td>0.113122</td>\n",
       "      <td>0.096421</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>历史_交易额均值</th>\n",
       "      <td>1367.0</td>\n",
       "      <td>3.050691e+05</td>\n",
       "      <td>1.775797e+05</td>\n",
       "      <td>7450.000000</td>\n",
       "      <td>1.829502e+05</td>\n",
       "      <td>2.453865e+05</td>\n",
       "      <td>3.836223e+05</td>\n",
       "      <td>1.732995e+06</td>\n",
       "      <td>0.017254</td>\n",
       "      <td>0.118304</td>\n",
       "      <td>0.082350</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>历史_交易稳定性</th>\n",
       "      <td>1367.0</td>\n",
       "      <td>3.727001e+00</td>\n",
       "      <td>9.056477e+00</td>\n",
       "      <td>-0.991071</td>\n",
       "      <td>6.415529e-02</td>\n",
       "      <td>2.163128e-01</td>\n",
       "      <td>1.604392e+00</td>\n",
       "      <td>8.531342e+01</td>\n",
       "      <td>0.017254</td>\n",
       "      <td>0.163146</td>\n",
       "      <td>0.006574</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>历史_供应商数量</th>\n",
       "      <td>1367.0</td>\n",
       "      <td>4.650329e+00</td>\n",
       "      <td>2.685144e+00</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>2.000000e+00</td>\n",
       "      <td>5.000000e+00</td>\n",
       "      <td>6.000000e+00</td>\n",
       "      <td>1.300000e+01</td>\n",
       "      <td>0.017254</td>\n",
       "      <td>0.076593</td>\n",
       "      <td>0.063355</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>历史_采购产品种类数量</th>\n",
       "      <td>1367.0</td>\n",
       "      <td>1.173372e+00</td>\n",
       "      <td>5.477966e-01</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>4.000000e+00</td>\n",
       "      <td>0.017254</td>\n",
       "      <td>0.018722</td>\n",
       "      <td>0.031703</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>历史_账期订单占比</th>\n",
       "      <td>1367.0</td>\n",
       "      <td>7.545036e-01</td>\n",
       "      <td>2.724238e-01</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>6.000000e-01</td>\n",
       "      <td>8.571429e-01</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>0.017254</td>\n",
       "      <td>0.016806</td>\n",
       "      <td>0.037527</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>历史_账期订单交易量均值</th>\n",
       "      <td>1367.0</td>\n",
       "      <td>4.673947e+01</td>\n",
       "      <td>3.448673e+01</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2.533974e+01</td>\n",
       "      <td>3.493182e+01</td>\n",
       "      <td>5.789474e+01</td>\n",
       "      <td>2.640000e+02</td>\n",
       "      <td>0.017254</td>\n",
       "      <td>0.120369</td>\n",
       "      <td>0.092853</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>历史_账期订单交易额均值</th>\n",
       "      <td>1367.0</td>\n",
       "      <td>3.015569e+05</td>\n",
       "      <td>1.978123e+05</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>1.860429e+05</td>\n",
       "      <td>2.409750e+05</td>\n",
       "      <td>3.540750e+05</td>\n",
       "      <td>1.834800e+06</td>\n",
       "      <td>0.017254</td>\n",
       "      <td>0.108331</td>\n",
       "      <td>0.091944</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>历史_账期合作时间（月）</th>\n",
       "      <td>1367.0</td>\n",
       "      <td>5.422824e+00</td>\n",
       "      <td>3.722789e+00</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2.000000e+00</td>\n",
       "      <td>5.000000e+00</td>\n",
       "      <td>8.000000e+00</td>\n",
       "      <td>1.600000e+01</td>\n",
       "      <td>0.017254</td>\n",
       "      <td>0.039504</td>\n",
       "      <td>-0.037322</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>历史_最近一笔账期订单（X月之前）</th>\n",
       "      <td>1227.0</td>\n",
       "      <td>7.326813e-01</td>\n",
       "      <td>9.095826e-01</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000e+00</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>9.000000e+00</td>\n",
       "      <td>0.117901</td>\n",
       "      <td>0.001773</td>\n",
       "      <td>0.006342</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>历史_采购频率（订单总数/合作月数）</th>\n",
       "      <td>1367.0</td>\n",
       "      <td>2.137507e+00</td>\n",
       "      <td>1.224493e+00</td>\n",
       "      <td>0.214286</td>\n",
       "      <td>1.333333e+00</td>\n",
       "      <td>1.857143e+00</td>\n",
       "      <td>2.444444e+00</td>\n",
       "      <td>8.000000e+00</td>\n",
       "      <td>0.017254</td>\n",
       "      <td>0.112677</td>\n",
       "      <td>0.118129</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>历史_采购聚集程度（订单总数/供应商数）</th>\n",
       "      <td>1367.0</td>\n",
       "      <td>3.422289e+00</td>\n",
       "      <td>2.116692e+00</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>2.000000e+00</td>\n",
       "      <td>3.000000e+00</td>\n",
       "      <td>4.296703e+00</td>\n",
       "      <td>1.600000e+01</td>\n",
       "      <td>0.017254</td>\n",
       "      <td>0.019023</td>\n",
       "      <td>-0.023141</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>历史_4天以内占比</th>\n",
       "      <td>1319.0</td>\n",
       "      <td>2.723556e-01</td>\n",
       "      <td>2.136674e-01</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>9.090909e-02</td>\n",
       "      <td>2.640000e-01</td>\n",
       "      <td>4.285714e-01</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>0.051761</td>\n",
       "      <td>0.079034</td>\n",
       "      <td>0.103591</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>历史_5-10天占比</th>\n",
       "      <td>1319.0</td>\n",
       "      <td>7.864938e-02</td>\n",
       "      <td>1.326917e-01</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000e+00</td>\n",
       "      <td>2.380952e-02</td>\n",
       "      <td>1.161339e-01</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>0.051761</td>\n",
       "      <td>0.330325</td>\n",
       "      <td>0.217158</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>历史_11天以上占比</th>\n",
       "      <td>1319.0</td>\n",
       "      <td>2.095848e-02</td>\n",
       "      <td>6.709556e-02</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000e+00</td>\n",
       "      <td>0.000000e+00</td>\n",
       "      <td>0.000000e+00</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>0.051761</td>\n",
       "      <td>0.000006</td>\n",
       "      <td>0.216871</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>历史_逾期占比</th>\n",
       "      <td>1319.0</td>\n",
       "      <td>3.719635e-01</td>\n",
       "      <td>2.636003e-01</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>1.530100e-01</td>\n",
       "      <td>3.698630e-01</td>\n",
       "      <td>5.714286e-01</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>0.051761</td>\n",
       "      <td>0.504847</td>\n",
       "      <td>0.248483</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>历史_提前还款占比</th>\n",
       "      <td>1319.0</td>\n",
       "      <td>3.928011e-01</td>\n",
       "      <td>2.847552e-01</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>1.531943e-01</td>\n",
       "      <td>3.703704e-01</td>\n",
       "      <td>6.000000e-01</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>0.051761</td>\n",
       "      <td>0.472114</td>\n",
       "      <td>-0.169422</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>历史_平均逾期天数</th>\n",
       "      <td>1319.0</td>\n",
       "      <td>2.882028e+00</td>\n",
       "      <td>2.488980e+00</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>2.666667e+00</td>\n",
       "      <td>4.000000e+00</td>\n",
       "      <td>3.200000e+01</td>\n",
       "      <td>0.051761</td>\n",
       "      <td>0.396367</td>\n",
       "      <td>0.258202</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>订单时间间隔均值变化</th>\n",
       "      <td>1288.0</td>\n",
       "      <td>9.968062e-01</td>\n",
       "      <td>3.480876e-01</td>\n",
       "      <td>0.052342</td>\n",
       "      <td>8.252799e-01</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>1.047733e+00</td>\n",
       "      <td>5.212766e+00</td>\n",
       "      <td>0.074047</td>\n",
       "      <td>0.015803</td>\n",
       "      <td>-0.014168</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>交易额均值变化</th>\n",
       "      <td>1367.0</td>\n",
       "      <td>1.052127e+00</td>\n",
       "      <td>2.136442e-01</td>\n",
       "      <td>0.405310</td>\n",
       "      <td>9.903870e-01</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>1.084594e+00</td>\n",
       "      <td>2.574344e+00</td>\n",
       "      <td>0.017254</td>\n",
       "      <td>0.004353</td>\n",
       "      <td>-0.044779</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>交易稳定性变化</th>\n",
       "      <td>1274.0</td>\n",
       "      <td>8.891663e-01</td>\n",
       "      <td>2.062739e+00</td>\n",
       "      <td>-30.969740</td>\n",
       "      <td>4.696592e-02</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>1.282595e+00</td>\n",
       "      <td>2.294143e+01</td>\n",
       "      <td>0.084112</td>\n",
       "      <td>0.007143</td>\n",
       "      <td>0.002527</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>账期订单交易量均值变化</th>\n",
       "      <td>1318.0</td>\n",
       "      <td>1.006145e+00</td>\n",
       "      <td>1.689407e-01</td>\n",
       "      <td>0.606618</td>\n",
       "      <td>9.709671e-01</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>1.003139e+00</td>\n",
       "      <td>2.422572e+00</td>\n",
       "      <td>0.052480</td>\n",
       "      <td>0.038924</td>\n",
       "      <td>-0.070308</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>账期订单交易额均值变化</th>\n",
       "      <td>1318.0</td>\n",
       "      <td>1.032290e+00</td>\n",
       "      <td>1.780444e-01</td>\n",
       "      <td>0.636364</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>1.032426e+00</td>\n",
       "      <td>2.501632e+00</td>\n",
       "      <td>0.052480</td>\n",
       "      <td>0.081538</td>\n",
       "      <td>-0.066147</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>逾期占比变化</th>\n",
       "      <td>1121.0</td>\n",
       "      <td>1.012996e+00</td>\n",
       "      <td>5.440198e-01</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>9.330025e-01</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>1.142857e+00</td>\n",
       "      <td>5.500000e+00</td>\n",
       "      <td>0.194105</td>\n",
       "      <td>0.156253</td>\n",
       "      <td>0.076171</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>提前还款占比变化</th>\n",
       "      <td>1129.0</td>\n",
       "      <td>9.743231e-01</td>\n",
       "      <td>5.305983e-01</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>8.000000e-01</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>1.095238e+00</td>\n",
       "      <td>8.500000e+00</td>\n",
       "      <td>0.188354</td>\n",
       "      <td>0.114265</td>\n",
       "      <td>-0.112759</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>平均逾期天数变化</th>\n",
       "      <td>1121.0</td>\n",
       "      <td>9.217732e-01</td>\n",
       "      <td>4.539035e-01</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>8.076923e-01</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>3.775148e+00</td>\n",
       "      <td>0.194105</td>\n",
       "      <td>0.168177</td>\n",
       "      <td>0.161918</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>label</th>\n",
       "      <td>1391.0</td>\n",
       "      <td>1.337168e-01</td>\n",
       "      <td>3.404701e-01</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000e+00</td>\n",
       "      <td>0.000000e+00</td>\n",
       "      <td>0.000000e+00</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1.000000</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>88 rows × 11 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                       count          mean           std          min  \\\n",
       "注册地址                  1331.0  5.762585e-01  4.943362e-01     0.000000   \n",
       "注册资本变更                1331.0  1.382419e-01  3.452835e-01     0.000000   \n",
       "法人变更                  1331.0  4.658152e-02  2.108200e-01     0.000000   \n",
       "分支机构                  1331.0  9.090909e-02  2.875878e-01     0.000000   \n",
       "商标专利                  1331.0  6.198347e-01  4.856097e-01     0.000000   \n",
       "场地归属                  1331.0  3.471074e-01  4.762292e-01     0.000000   \n",
       "有无贷款                  1244.0  7.974277e-01  4.020780e-01     0.000000   \n",
       "企业征信                   992.0  1.508065e+00  8.172802e-01     1.000000   \n",
       "涉诉信息                  1331.0  3.688956e-01  6.682219e-01     0.000000   \n",
       "下游客户情况                1202.0  2.572379e+00  9.988349e-01     1.000000   \n",
       "注册时间                  1331.0  1.049887e+01  4.675464e+00     1.500000   \n",
       "实收资本                  1331.0  8.044546e+02  1.116639e+03    30.000000   \n",
       "员工人数                  1331.0  1.504358e+02  1.846981e+02    10.000000   \n",
       "厂房面积                  1331.0  2.458936e+04  4.166366e+04   200.000000   \n",
       "资产负债率                 1331.0  7.234007e+01  1.949537e+01     5.000000   \n",
       "流动比率                  1045.0  1.458665e+02  2.078480e+02    22.730000   \n",
       "净资产                   1331.0  8.436153e+02  9.179821e+02    53.000000   \n",
       "货币资金                  1028.0  2.382625e+02  3.580792e+02     0.000000   \n",
       "存货周转天数                1032.0  5.532609e+01  9.692956e+01     0.000000   \n",
       "应收账款周转天数              1096.0  8.818755e+01  4.976174e+01     0.000000   \n",
       "主营业务利润率               1090.0  1.035938e+01  5.601759e+00     1.000000   \n",
       "净资产增长率                1041.0  8.613022e+01  2.818335e+02   -22.000000   \n",
       "销售增长率                 1036.0  4.199425e+01  8.271477e+01   -37.000000   \n",
       "当地经济环境                1261.0  7.620460e+00  1.263873e+00     4.800000   \n",
       "撮合单数                  1266.0  6.701422e+00  2.205690e+01     0.000000   \n",
       "订单总数                  1367.0  7.625457e+00  4.807284e+00     1.000000   \n",
       "订单时间间隔均值（天）           1288.0  1.775336e+01  1.192618e+01     1.000000   \n",
       "订单时间间隔方差（天）           1288.0  1.093696e+01  8.478446e+00     0.000000   \n",
       "交易总量                  1367.0  4.140675e+02  4.819813e+02     1.000000   \n",
       "交易量最大值                1367.0  8.627686e+01  8.122875e+01     1.000000   \n",
       "...                      ...           ...           ...          ...   \n",
       "历史_交易额总量              1367.0  5.163139e+06  5.792715e+06  7450.000000   \n",
       "历史_交易额最大值             1367.0  6.527587e+05  5.207202e+05  7450.000000   \n",
       "历史_交易额最小值             1367.0  1.087004e+05  8.812884e+04   271.000000   \n",
       "历史_交易额方差              1319.0  1.647091e+05  1.523265e+05     0.000000   \n",
       "历史_交易额均值              1367.0  3.050691e+05  1.775797e+05  7450.000000   \n",
       "历史_交易稳定性              1367.0  3.727001e+00  9.056477e+00    -0.991071   \n",
       "历史_供应商数量              1367.0  4.650329e+00  2.685144e+00     1.000000   \n",
       "历史_采购产品种类数量           1367.0  1.173372e+00  5.477966e-01     1.000000   \n",
       "历史_账期订单占比             1367.0  7.545036e-01  2.724238e-01     0.000000   \n",
       "历史_账期订单交易量均值          1367.0  4.673947e+01  3.448673e+01     0.000000   \n",
       "历史_账期订单交易额均值          1367.0  3.015569e+05  1.978123e+05     0.000000   \n",
       "历史_账期合作时间（月）          1367.0  5.422824e+00  3.722789e+00     0.000000   \n",
       "历史_最近一笔账期订单（X月之前）     1227.0  7.326813e-01  9.095826e-01     0.000000   \n",
       "历史_采购频率（订单总数/合作月数）    1367.0  2.137507e+00  1.224493e+00     0.214286   \n",
       "历史_采购聚集程度（订单总数/供应商数）  1367.0  3.422289e+00  2.116692e+00     1.000000   \n",
       "历史_4天以内占比             1319.0  2.723556e-01  2.136674e-01     0.000000   \n",
       "历史_5-10天占比            1319.0  7.864938e-02  1.326917e-01     0.000000   \n",
       "历史_11天以上占比            1319.0  2.095848e-02  6.709556e-02     0.000000   \n",
       "历史_逾期占比               1319.0  3.719635e-01  2.636003e-01     0.000000   \n",
       "历史_提前还款占比             1319.0  3.928011e-01  2.847552e-01     0.000000   \n",
       "历史_平均逾期天数             1319.0  2.882028e+00  2.488980e+00     0.000000   \n",
       "订单时间间隔均值变化            1288.0  9.968062e-01  3.480876e-01     0.052342   \n",
       "交易额均值变化               1367.0  1.052127e+00  2.136442e-01     0.405310   \n",
       "交易稳定性变化               1274.0  8.891663e-01  2.062739e+00   -30.969740   \n",
       "账期订单交易量均值变化           1318.0  1.006145e+00  1.689407e-01     0.606618   \n",
       "账期订单交易额均值变化           1318.0  1.032290e+00  1.780444e-01     0.636364   \n",
       "逾期占比变化                1121.0  1.012996e+00  5.440198e-01     0.000000   \n",
       "提前还款占比变化              1129.0  9.743231e-01  5.305983e-01     0.000000   \n",
       "平均逾期天数变化              1121.0  9.217732e-01  4.539035e-01     0.000000   \n",
       "label                 1391.0  1.337168e-01  3.404701e-01     0.000000   \n",
       "\n",
       "                               25%           50%           75%           max  \\\n",
       "注册地址                  0.000000e+00  1.000000e+00  1.000000e+00  1.000000e+00   \n",
       "注册资本变更                0.000000e+00  0.000000e+00  0.000000e+00  1.000000e+00   \n",
       "法人变更                  0.000000e+00  0.000000e+00  0.000000e+00  1.000000e+00   \n",
       "分支机构                  0.000000e+00  0.000000e+00  0.000000e+00  1.000000e+00   \n",
       "商标专利                  0.000000e+00  1.000000e+00  1.000000e+00  1.000000e+00   \n",
       "场地归属                  0.000000e+00  0.000000e+00  1.000000e+00  1.000000e+00   \n",
       "有无贷款                  1.000000e+00  1.000000e+00  1.000000e+00  1.000000e+00   \n",
       "企业征信                  1.000000e+00  1.000000e+00  2.000000e+00  4.000000e+00   \n",
       "涉诉信息                  0.000000e+00  0.000000e+00  1.000000e+00  4.000000e+00   \n",
       "下游客户情况                2.000000e+00  2.000000e+00  4.000000e+00  4.000000e+00   \n",
       "注册时间                  6.000000e+00  1.000000e+01  1.600000e+01  2.100000e+01   \n",
       "实收资本                  5.000000e+01  2.000000e+02  1.300000e+03  4.036440e+03   \n",
       "员工人数                  5.000000e+01  8.000000e+01  2.000000e+02  7.000000e+02   \n",
       "厂房面积                  3.000000e+03  8.000000e+03  2.000000e+04  1.600000e+05   \n",
       "资产负债率                 6.400000e+01  7.729000e+01  8.700000e+01  9.500000e+01   \n",
       "流动比率                  9.800000e+01  1.090000e+02  1.320000e+02  1.646000e+03   \n",
       "净资产                   1.520000e+02  2.550000e+02  1.288000e+03  4.171000e+03   \n",
       "货币资金                  3.600000e+01  1.030000e+02  3.234000e+02  2.216000e+03   \n",
       "存货周转天数                5.000000e+00  1.500000e+01  8.463000e+01  7.890000e+02   \n",
       "应收账款周转天数              4.900000e+01  8.600000e+01  1.178600e+02  2.930000e+02   \n",
       "主营业务利润率               7.000000e+00  9.000000e+00  1.300000e+01  3.000000e+01   \n",
       "净资产增长率                4.000000e+00  1.500000e+01  4.100000e+01  2.140000e+03   \n",
       "销售增长率                 0.000000e+00  1.200000e+01  3.800000e+01  1.055000e+03   \n",
       "当地经济环境                7.100000e+00  8.200000e+00  8.600000e+00  8.800000e+00   \n",
       "撮合单数                  0.000000e+00  0.000000e+00  2.000000e+00  1.080000e+02   \n",
       "订单总数                  4.000000e+00  7.000000e+00  1.000000e+01  2.500000e+01   \n",
       "订单时间间隔均值（天）           1.072727e+01  1.420000e+01  2.000000e+01  9.900000e+01   \n",
       "订单时间间隔方差（天）           5.847830e+00  9.202355e+00  1.362534e+01  6.646804e+01   \n",
       "交易总量                  1.296550e+02  2.260000e+02  4.760000e+02  2.396250e+03   \n",
       "交易量最大值                3.000000e+01  5.600000e+01  1.240000e+02  4.030000e+02   \n",
       "...                            ...           ...           ...           ...   \n",
       "历史_交易额总量              1.495930e+06  3.144900e+06  6.079100e+06  2.923242e+07   \n",
       "历史_交易额最大值             3.018000e+05  4.284000e+05  9.083000e+05  2.115750e+06   \n",
       "历史_交易额最小值             1.886500e+04  1.287600e+05  1.523600e+05  1.017225e+06   \n",
       "历史_交易额方差              5.866443e+04  1.049896e+05  2.780400e+05  9.718940e+05   \n",
       "历史_交易额均值              1.829502e+05  2.453865e+05  3.836223e+05  1.732995e+06   \n",
       "历史_交易稳定性              6.415529e-02  2.163128e-01  1.604392e+00  8.531342e+01   \n",
       "历史_供应商数量              2.000000e+00  5.000000e+00  6.000000e+00  1.300000e+01   \n",
       "历史_采购产品种类数量           1.000000e+00  1.000000e+00  1.000000e+00  4.000000e+00   \n",
       "历史_账期订单占比             6.000000e-01  8.571429e-01  1.000000e+00  1.000000e+00   \n",
       "历史_账期订单交易量均值          2.533974e+01  3.493182e+01  5.789474e+01  2.640000e+02   \n",
       "历史_账期订单交易额均值          1.860429e+05  2.409750e+05  3.540750e+05  1.834800e+06   \n",
       "历史_账期合作时间（月）          2.000000e+00  5.000000e+00  8.000000e+00  1.600000e+01   \n",
       "历史_最近一笔账期订单（X月之前）     0.000000e+00  1.000000e+00  1.000000e+00  9.000000e+00   \n",
       "历史_采购频率（订单总数/合作月数）    1.333333e+00  1.857143e+00  2.444444e+00  8.000000e+00   \n",
       "历史_采购聚集程度（订单总数/供应商数）  2.000000e+00  3.000000e+00  4.296703e+00  1.600000e+01   \n",
       "历史_4天以内占比             9.090909e-02  2.640000e-01  4.285714e-01  1.000000e+00   \n",
       "历史_5-10天占比            0.000000e+00  2.380952e-02  1.161339e-01  1.000000e+00   \n",
       "历史_11天以上占比            0.000000e+00  0.000000e+00  0.000000e+00  1.000000e+00   \n",
       "历史_逾期占比               1.530100e-01  3.698630e-01  5.714286e-01  1.000000e+00   \n",
       "历史_提前还款占比             1.531943e-01  3.703704e-01  6.000000e-01  1.000000e+00   \n",
       "历史_平均逾期天数             1.000000e+00  2.666667e+00  4.000000e+00  3.200000e+01   \n",
       "订单时间间隔均值变化            8.252799e-01  1.000000e+00  1.047733e+00  5.212766e+00   \n",
       "交易额均值变化               9.903870e-01  1.000000e+00  1.084594e+00  2.574344e+00   \n",
       "交易稳定性变化               4.696592e-02  1.000000e+00  1.282595e+00  2.294143e+01   \n",
       "账期订单交易量均值变化           9.709671e-01  1.000000e+00  1.003139e+00  2.422572e+00   \n",
       "账期订单交易额均值变化           1.000000e+00  1.000000e+00  1.032426e+00  2.501632e+00   \n",
       "逾期占比变化                9.330025e-01  1.000000e+00  1.142857e+00  5.500000e+00   \n",
       "提前还款占比变化              8.000000e-01  1.000000e+00  1.095238e+00  8.500000e+00   \n",
       "平均逾期天数变化              8.076923e-01  1.000000e+00  1.000000e+00  3.775148e+00   \n",
       "label                 0.000000e+00  0.000000e+00  0.000000e+00  1.000000e+00   \n",
       "\n",
       "                      null_ratio       ivs  pearson_label  \n",
       "注册地址                    0.043134  0.091191       0.100858  \n",
       "注册资本变更                  0.043134  0.012971       0.039383  \n",
       "法人变更                    0.043134  0.001012      -0.000621  \n",
       "分支机构                    0.043134  0.001803       0.009891  \n",
       "商标专利                    0.043134  0.092123       0.100191  \n",
       "场地归属                    0.043134  0.118460       0.121791  \n",
       "有无贷款                    0.105679  0.039329       0.066343  \n",
       "企业征信                    0.286844  0.236759       0.112246  \n",
       "涉诉信息                    0.043134  0.068035       0.057467  \n",
       "下游客户情况                  0.135873  0.323262      -0.146150  \n",
       "注册时间                    0.043134  0.083627       0.042638  \n",
       "实收资本                    0.043134  0.232447       0.113229  \n",
       "员工人数                    0.043134  0.186933       0.160334  \n",
       "厂房面积                    0.043134  0.169944       0.142412  \n",
       "资产负债率                   0.043134  0.264741       0.130753  \n",
       "流动比率                    0.248742  0.297838      -0.083507  \n",
       "净资产                     0.043134  0.078774       0.050171  \n",
       "货币资金                    0.260963  0.098360       0.171135  \n",
       "存货周转天数                  0.258088  0.271149       0.090102  \n",
       "应收账款周转天数                0.212078  0.067704      -0.086167  \n",
       "主营业务利润率                 0.216391  0.079296       0.101716  \n",
       "净资产增长率                  0.251618  0.027378      -0.041839  \n",
       "销售增长率                   0.255212  0.003949      -0.027533  \n",
       "当地经济环境                  0.093458  0.063260       0.037850  \n",
       "撮合单数                    0.089863  0.037379      -0.038716  \n",
       "订单总数                    0.017254  0.170247       0.144028  \n",
       "订单时间间隔均值（天）             0.074047  0.080420      -0.055033  \n",
       "订单时间间隔方差（天）             0.074047  0.051398      -0.045563  \n",
       "交易总量                    0.017254  0.144326       0.145341  \n",
       "交易量最大值                  0.017254  0.079064       0.124071  \n",
       "...                          ...       ...            ...  \n",
       "历史_交易额总量                0.017254  0.055413       0.104235  \n",
       "历史_交易额最大值               0.017254  0.105417       0.106235  \n",
       "历史_交易额最小值               0.017254  0.134016      -0.120626  \n",
       "历史_交易额方差                0.051761  0.113122       0.096421  \n",
       "历史_交易额均值                0.017254  0.118304       0.082350  \n",
       "历史_交易稳定性                0.017254  0.163146       0.006574  \n",
       "历史_供应商数量                0.017254  0.076593       0.063355  \n",
       "历史_采购产品种类数量             0.017254  0.018722       0.031703  \n",
       "历史_账期订单占比               0.017254  0.016806       0.037527  \n",
       "历史_账期订单交易量均值            0.017254  0.120369       0.092853  \n",
       "历史_账期订单交易额均值            0.017254  0.108331       0.091944  \n",
       "历史_账期合作时间（月）            0.017254  0.039504      -0.037322  \n",
       "历史_最近一笔账期订单（X月之前）       0.117901  0.001773       0.006342  \n",
       "历史_采购频率（订单总数/合作月数）      0.017254  0.112677       0.118129  \n",
       "历史_采购聚集程度（订单总数/供应商数）    0.017254  0.019023      -0.023141  \n",
       "历史_4天以内占比               0.051761  0.079034       0.103591  \n",
       "历史_5-10天占比              0.051761  0.330325       0.217158  \n",
       "历史_11天以上占比              0.051761  0.000006       0.216871  \n",
       "历史_逾期占比                 0.051761  0.504847       0.248483  \n",
       "历史_提前还款占比               0.051761  0.472114      -0.169422  \n",
       "历史_平均逾期天数               0.051761  0.396367       0.258202  \n",
       "订单时间间隔均值变化              0.074047  0.015803      -0.014168  \n",
       "交易额均值变化                 0.017254  0.004353      -0.044779  \n",
       "交易稳定性变化                 0.084112  0.007143       0.002527  \n",
       "账期订单交易量均值变化             0.052480  0.038924      -0.070308  \n",
       "账期订单交易额均值变化             0.052480  0.081538      -0.066147  \n",
       "逾期占比变化                  0.194105  0.156253       0.076171  \n",
       "提前还款占比变化                0.188354  0.114265      -0.112759  \n",
       "平均逾期天数变化                0.194105  0.168177       0.161918  \n",
       "label                   0.000000       NaN       1.000000  \n",
       "\n",
       "[88 rows x 11 columns]"
      ]
     },
     "execution_count": 7,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "#变量分析\n",
    "feature_sts = stastic(zq_3m)\n",
    "feature_sts"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "collapsed": false
   },
   "source": [
    "### 提取重要特征"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "#woe编码,归一化，缺失值填充\n",
    "def pre_trate(sub_cols,df):\n",
    "    df_sub = df[sub_cols].copy()\n",
    "    #woe 编码\n",
    "    woe_col = [col for col in sub_cols if df[col].unique().size<10]\n",
    "    rate_col = [x for x in sub_cols if df[x].max()>10]    \n",
    "    for col in woe_col:\n",
    "        if col !='label':            \n",
    "            woe_df = calc_woe(df_sub[[col,'label']],col)\n",
    "            woe_dic = woe_to_dict(woe_df)\n",
    "            df_sub[col] = df_sub[col].map(woe_dic)\n",
    "    #归一化    \n",
    "    for col in rate_col:\n",
    "        df_sub[col] =normalize(df_sub[col])   \n",
    "        \n",
    "    #缺失值\n",
    "    for col in sub_cols:\n",
    "        df_sub[col] =df_sub[col].fillna(df_sub[col].mean())\n",
    "    return df_sub"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {
    "collapsed": false,
    "scrolled": true
   },
   "outputs": [],
   "source": [
    "cols_filter =['实收资本','注册地址','场地归属','注册时间','下游客户情况','涉诉信息','有无贷款','企业征信','净资产','流动比率',\n",
    "              '资产负债率','货币资金','主营业务利润率','应收账款周转天数','存货周转天数','季度逾期占比','季度平均逾期天数',\n",
    "              '历史_逾期占比','历史_提前还款占比','季度提前还款占比','历史_平均逾期天数','平均逾期天数变化','逾期占比变化',\n",
    "              '订单总数','交易额总量','历史_交易稳定性','交易量最小值','交易总量','交易额最小值','交易额方差','交易量方差',\n",
    "              '提前还款占比变化','历史_账期订单交易量均值','历史_交易额均值','历史_账期订单交易额均值','交易额最大值','交易额均值',\n",
    "              '交易稳定性','历史_最近连续交易月数','历史_账期合作时间（月）','label']\n",
    "df = pre_trate(cols_filter,zq_3m)\n",
    "df.to_csv('./out1/samples_41_fillna_mean_time.csv')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {
    "collapsed": false
   },
   "outputs": [],
   "source": [
    "df_sub = zq_3m[cols_filter]\n",
    "df_sub.to_csv('./out1/samples_41_for_card_init.csv')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "#季度订单所有变量\n",
    "cols_filter = ['注册地址','注册资本变更','法人变更','分支机构','商标专利','场地归属','有无贷款','企业征信','涉诉信息','下游客户情况',\n",
    "               '注册时间','实收资本','员工人数','厂房面积','资产负债率','流动比率','净资产','货币资金','存货周转天数',\n",
    "               '应收账款周转天数','主营业务利润率','净资产增长率','销售增长率','当地经济环境','撮合单数','订单总数',\n",
    "               '订单时间间隔均值（天）','订单时间间隔方差（天）','交易总量','交易量最大值','交易量最小值','交易量方差',\n",
    "               '交易量均值','交易额总量','交易额最大值','交易额最小值','交易额方差','交易额均值','交易稳定性','账期订单占比',\n",
    "               '账期订单交易量均值','账期订单交易额均值','季度逾期占比','季度提前还款占比','季度平均逾期天数',\n",
    "               '历史_最近连续交易月数','历史_订单时间间隔均值（天）','历史_交易额均值','历史_交易稳定性','历史_账期订单交易量均值',\n",
    "               '历史_账期订单交易额均值','历史_账期合作时间（月）','历史_逾期占比','历史_提前还款占比','历史_平均逾期天数',\n",
    "               '订单时间间隔均值变化','交易额均值变化','交易稳定性变化','账期订单交易量均值变化','账期订单交易额均值变化','逾期占比变化',\n",
    "               '提前还款占比变化','平均逾期天数变化','zq_day','label']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "实收资本\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   1.0       430       48    0.356846  0.032015 -0.324096   0.258065\n",
      "1   2.0       403       59    0.334440  0.000912 -0.052911   0.317204\n",
      "2   3.0       325       66    0.269710  0.023352  0.274318   0.354839\n",
      "注册地址\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   0.0       513       51    0.425726  0.066669 -0.439962   0.274194\n",
      "1   1.0       645      122    0.535270  0.024522  0.203259   0.655914\n",
      "场地归属\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   0.0       782       87    0.648963  0.059342 -0.327458   0.467742\n",
      "1   1.0       376       86    0.312033  0.059118  0.393246   0.462366\n",
      "注册时间\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   1.0       420       55    0.348548  0.008690 -0.164433   0.295699\n",
      "1   2.0       399       48    0.331120  0.018211 -0.249272   0.258065\n",
      "2   3.0       339       70    0.281328  0.027648  0.290983   0.376344\n",
      "下游客户情况\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   1.0        38       34    0.031535  0.265804  1.757263   0.182796\n",
      "1   2.0       657       93    0.545228  0.003917 -0.086596   0.500000\n",
      "2   4.0       347       33    0.287967  0.053541 -0.484329   0.177419\n",
      "涉诉信息\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   0.0       811      114    0.673029  0.005627 -0.093581   0.612903\n",
      "1   1.0       308       51    0.255602  0.001305  0.070214   0.274194\n",
      "2   2.0        27        1    0.022407  0.024308 -1.427349   0.005376\n",
      "3   4.0        12        7    0.009959  0.036795  1.329492   0.037634\n",
      "有无贷款\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   0.0       230       22    0.190871  0.034739 -0.478549   0.118280\n",
      "1   1.0       850      142    0.705394  0.004590  0.079079   0.763441\n",
      "企业征信\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   1.0       585       72    0.485477  0.022279 -0.226458   0.387097\n",
      "1   2.0       167       37    0.138589  0.021806  0.361412   0.198925\n",
      "2   3.0        61       32    0.050622  0.148540  1.223350   0.172043\n",
      "3   4.0        37        1    0.030705  0.044134 -1.742430   0.005376\n",
      "净资产\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   1.0       425       38    0.352697  0.081026 -0.546015   0.204301\n",
      "1   2.0       361       69    0.299585  0.015256  0.213717   0.370968\n",
      "2   3.0       372       66    0.308714  0.006423  0.139249   0.354839\n",
      "流动比率\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   1.0       272       79    0.225726  0.125798  0.632134   0.424731\n",
      "1   2.0       353       33    0.292946  0.057933 -0.501472   0.177419\n",
      "2   3.0       288       20    0.239004  0.105016 -0.798740   0.107527\n",
      "资产负债率\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   1.0       501       47    0.415768  0.081209 -0.497970   0.252688\n",
      "1   2.0       333       54    0.276349  0.000689  0.049330   0.290323\n",
      "2   3.0       324       72    0.268880  0.043080  0.364411   0.387097\n",
      "货币资金\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   1.0       318       29    0.263900  0.056830 -0.526267   0.155914\n",
      "1   2.0       382       47    0.317012  0.014588 -0.226785   0.252688\n",
      "2   3.0       197       55    0.163485  0.078352  0.592618   0.295699\n",
      "主营业务利润率\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   1.0       360       32    0.298755  0.069930 -0.551880   0.172043\n",
      "1   2.0       325       57    0.269710  0.004692  0.127714   0.306452\n",
      "2   3.0       266       50    0.220747  0.009471  0.197015   0.268817\n",
      "应收账款周转天数\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   1.0       318       63    0.263900  0.018670  0.249572   0.338710\n",
      "1   2.0       356       44    0.295436  0.013085 -0.222253   0.236559\n",
      "2   3.0       281       34    0.233195  0.012273 -0.243506   0.182796\n",
      "存货周转天数\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   1.0       345       20    0.286307  0.175084 -0.979324   0.107527\n",
      "1   2.0       294       35    0.243983  0.014497 -0.259744   0.188172\n",
      "2   3.0       263       75    0.218257  0.113538  0.613822   0.403226\n",
      "季度逾期占比\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   1.0       453       16    0.375934  0.427567 -1.474815   0.086022\n",
      "1   2.0       371       53    0.307884  0.001776 -0.077422   0.284946\n",
      "2   3.0       305      105    0.253112  0.249789  0.802137   0.564516\n",
      "季度平均逾期天数\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   1.0       504       21    0.418257  0.399881 -1.309566   0.112903\n",
      "1   2.0       303       46    0.251452  0.000069 -0.016603   0.247312\n",
      "2   3.0       322      107    0.267220  0.236201  0.766765   0.575269\n",
      "历史_逾期占比\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   1.0       422       18    0.350207  0.325952 -1.286145   0.096774\n",
      "1   2.0       444       64    0.368465  0.001669 -0.068453   0.344086\n",
      "2   3.0       277       94    0.229876  0.217030  0.787765   0.505376\n",
      "历史_提前还款占比\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   1.0       357       86    0.296266  0.073931  0.445100   0.462366\n",
      "1   2.0       397       76    0.329461  0.017038  0.215285   0.408602\n",
      "2   3.0       389       14    0.322822  0.360445 -1.456034   0.075269\n",
      "季度提前还款占比\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   1.0       359       84    0.297925  0.063931  0.415983   0.451613\n",
      "1   2.0       386       74    0.320332  0.016799  0.216716   0.397849\n",
      "2   3.0       384       16    0.318672  0.304671 -1.309566   0.086022\n",
      "历史_平均逾期天数\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   1.0       419       22    0.347718  0.247413 -1.078340   0.118280\n",
      "1   2.0       382       62    0.317012  0.000819  0.050202   0.333333\n",
      "2   3.0       342       92    0.283817  0.117096  0.555466   0.494624\n",
      "平均逾期天数变化\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   1.0       345       29    0.286307  0.079248 -0.607760   0.155914\n",
      "1   2.0       396       76    0.328631  0.017418  0.217807   0.408602\n",
      "2   3.0       212       63    0.175934  0.106624  0.655037   0.338710\n",
      "逾期占比变化\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   1.0       604       87    0.501245  0.002318 -0.069178   0.467742\n",
      "1   2.0        41       17    0.034025  0.056692  0.988129   0.091398\n",
      "2   3.0       308       64    0.255602  0.026304  0.297271   0.344086\n",
      "订单总数\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   1.0       447       49    0.370954  0.036797 -0.342250   0.263441\n",
      "1   2.0       456       62    0.378423  0.005721 -0.126870   0.333333\n",
      "2   3.0       280       73    0.232365  0.083922  0.524158   0.392473\n",
      "交易额总量\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   1.0       412       46    0.341909  0.030639 -0.323894   0.247312\n",
      "1   2.0       409       45    0.339419  0.033004 -0.338564   0.241935\n",
      "2   3.0       362       93    0.300415  0.101677  0.509443   0.500000\n",
      "历史_交易稳定性\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   1.0       415       41    0.344398  0.055317 -0.446218   0.220430\n",
      "1   2.0       406       52    0.336929  0.010705 -0.186621   0.279570\n",
      "2   3.0       362       91    0.300415  0.092094  0.487703   0.489247\n",
      "交易量最小值\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   1.0       380       98    0.315353  0.108575  0.513284   0.526882\n",
      "1   2.0       399       37    0.331120  0.067361 -0.509555   0.198925\n",
      "2   3.0       404       49    0.335270  0.017318 -0.241106   0.263441\n",
      "交易总量\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   1.0       414       47    0.343568  0.027921 -0.307230   0.252688\n",
      "1   2.0       405       47    0.336100  0.023793 -0.285251   0.252688\n",
      "2   3.0       364       90    0.302075  0.085652  0.471144   0.483871\n",
      "交易额最小值\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   1.0       370       87    0.307054  0.067632  0.420893   0.467742\n",
      "1   2.0       399       57    0.331120  0.001910 -0.077422   0.306452\n",
      "2   3.0       414       40    0.343568  0.060209 -0.468498   0.215054\n",
      "交易额方差\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   1.0       388       42    0.321992  0.034131 -0.354848   0.225806\n",
      "1   2.0       377       53    0.312863  0.002609 -0.093465   0.284946\n",
      "2   3.0       347       83    0.287967  0.069323  0.438004   0.446237\n",
      "交易量方差\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   1.0       386       46    0.320332  0.018891 -0.258708   0.247312\n",
      "1   2.0       376       52    0.312033  0.003566 -0.109857   0.279570\n",
      "2   3.0       350       80    0.290456  0.054824  0.392582   0.430108\n",
      "提前还款占比变化\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   1.0       309       69    0.256432  0.042293  0.369253   0.370968\n",
      "1   2.0       382       51    0.317012  0.006213 -0.145107   0.274194\n",
      "2   3.0       297       21    0.246473  0.104281 -0.780722   0.112903\n",
      "历史_账期订单交易量均值\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   1.0       400       60    0.331950  0.000268 -0.028632   0.322581\n",
      "1   2.0       412       41    0.341909  0.053325 -0.438963   0.220430\n",
      "2   3.0       371       83    0.307884  0.051346  0.371127   0.446237\n",
      "历史_交易额均值\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   1.0       415       41    0.344398  0.055317 -0.446218   0.220430\n",
      "1   2.0       399       57    0.331120  0.001910 -0.077422   0.306452\n",
      "2   3.0       369       86    0.306224  0.064336  0.412039   0.462366\n",
      "历史_账期订单交易额均值\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   1.0       415       42    0.344398  0.050060 -0.422121   0.225806\n",
      "1   2.0       399       56    0.331120  0.002858 -0.095122   0.301075\n",
      "2   3.0       369       86    0.306224  0.064336  0.412039   0.462366\n",
      "交易额最大值\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   1.0       420       41    0.348548  0.058703 -0.458194   0.220430\n",
      "1   2.0       391       64    0.324481  0.001150  0.058664   0.344086\n",
      "2   3.0       372       79    0.308714  0.037014  0.319042   0.424731\n",
      "交易额均值\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   1.0       413       43    0.342739  0.043926 -0.393759   0.231183\n",
      "1   2.0       399       57    0.331120  0.001910 -0.077422   0.306452\n",
      "2   3.0       371       84    0.307884  0.055063  0.383103   0.451613\n",
      "交易稳定性\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   1.0       414       42    0.343568  0.049426 -0.419708   0.225806\n",
      "1   2.0       396       61    0.328631  0.000001 -0.002052   0.327957\n",
      "2   3.0       373       81    0.309544  0.042991  0.341359   0.435484\n",
      "历史_最近连续交易月数\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   0.0       241       27    0.200000  0.017574 -0.320472   0.145161\n",
      "1   1.0       502       68    0.416598  0.006662 -0.130604   0.365591\n",
      "2   2.0       440       89    0.365145  0.030644  0.270350   0.478495\n",
      "历史_账期合作时间（月）\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   0.0       317       40    0.263071  0.009677 -0.201534   0.215054\n",
      "1   1.0       413       82    0.342739  0.024703  0.251760   0.440860\n",
      "2   2.0       453       62    0.375934  0.005124 -0.120270   0.333333\n",
      "历史_交易总量\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   0.0       407       55    0.337759  0.005594 -0.132992   0.295699\n",
      "1   1.0       411       49    0.341079  0.020053 -0.258285   0.263441\n",
      "2   2.0       365       80    0.302905  0.044600  0.350617   0.430108\n",
      "历史_交易额总量\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   0.0       414       48    0.343568  0.024469 -0.286177   0.258065\n",
      "1   1.0       402       60    0.333610  0.000371 -0.033619   0.322581\n",
      "2   2.0       367       76    0.304564  0.030573  0.293860   0.408602\n",
      "订单时间间隔均值变化\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   0.0       393       69    0.326141  0.005773  0.128785   0.370968\n",
      "1   1.0       395       67    0.327801  0.003057  0.094295   0.360215\n",
      "2   2.0       322       42    0.267220  0.006974 -0.168394   0.225806\n",
      "账期订单交易量均值变化\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   0.0       325       68    0.269710  0.029164  0.304171   0.365591\n",
      "1   2.0       814      111    0.675519  0.009760 -0.123942   0.596774\n",
      "账期订单交易额均值变化\n",
      "   name  good_num  bad_num  good_ratio        iv       woe  bad_ratio\n",
      "0   0.0       268       52    0.222407  0.013076  0.228745   0.279570\n",
      "1   1.0       512       93    0.424896  0.012224  0.162763   0.500000\n",
      "2   2.0       359       34    0.297925  0.056238 -0.488474   0.182796\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style>\n",
       "    .dataframe thead tr:only-child th {\n",
       "        text-align: right;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: left;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>实收资本</th>\n",
       "      <th>注册地址</th>\n",
       "      <th>场地归属</th>\n",
       "      <th>注册时间</th>\n",
       "      <th>下游客户情况</th>\n",
       "      <th>涉诉信息</th>\n",
       "      <th>有无贷款</th>\n",
       "      <th>企业征信</th>\n",
       "      <th>净资产</th>\n",
       "      <th>流动比率</th>\n",
       "      <th>...</th>\n",
       "      <th>交易额均值</th>\n",
       "      <th>交易稳定性</th>\n",
       "      <th>历史_最近连续交易月数</th>\n",
       "      <th>历史_账期合作时间（月）</th>\n",
       "      <th>label</th>\n",
       "      <th>历史_交易总量</th>\n",
       "      <th>历史_交易额总量</th>\n",
       "      <th>订单时间间隔均值变化</th>\n",
       "      <th>账期订单交易量均值变化</th>\n",
       "      <th>账期订单交易额均值变化</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>应收单号</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>YS2016030800082</th>\n",
       "      <td>0.274318</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>0.290983</td>\n",
       "      <td>-0.484329</td>\n",
       "      <td>0.070214</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-1.742430</td>\n",
       "      <td>0.139249</td>\n",
       "      <td>-0.501472</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016030400009</th>\n",
       "      <td>-0.324096</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>-0.164433</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>-0.478549</td>\n",
       "      <td>NaN</td>\n",
       "      <td>-0.546015</td>\n",
       "      <td>-0.501472</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.393759</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.320472</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.132992</td>\n",
       "      <td>-0.286177</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016030400024</th>\n",
       "      <td>0.274318</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>0.290983</td>\n",
       "      <td>1.757263</td>\n",
       "      <td>1.329492</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>0.139249</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.320472</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.132992</td>\n",
       "      <td>-0.286177</td>\n",
       "      <td>0.094295</td>\n",
       "      <td>-0.123942</td>\n",
       "      <td>0.162763</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016030700026</th>\n",
       "      <td>-0.324096</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>-0.249272</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>-0.478549</td>\n",
       "      <td>NaN</td>\n",
       "      <td>-0.546015</td>\n",
       "      <td>-0.798740</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.393759</td>\n",
       "      <td>0.341359</td>\n",
       "      <td>0.270350</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>0</td>\n",
       "      <td>0.350617</td>\n",
       "      <td>-0.033619</td>\n",
       "      <td>0.094295</td>\n",
       "      <td>-0.123942</td>\n",
       "      <td>0.162763</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016030700041</th>\n",
       "      <td>0.274318</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>0.290983</td>\n",
       "      <td>1.757263</td>\n",
       "      <td>1.329492</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>0.139249</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.320472</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.132992</td>\n",
       "      <td>-0.286177</td>\n",
       "      <td>0.094295</td>\n",
       "      <td>-0.123942</td>\n",
       "      <td>0.162763</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>5 rows × 46 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                     实收资本      注册地址      场地归属      注册时间    下游客户情况      涉诉信息  \\\n",
       "应收单号                                                                          \n",
       "YS2016030800082  0.274318 -0.439962  0.393246  0.290983 -0.484329  0.070214   \n",
       "YS2016030400009 -0.324096 -0.439962  0.393246 -0.164433 -0.086596 -0.093581   \n",
       "YS2016030400024  0.274318  0.203259  0.393246  0.290983  1.757263  1.329492   \n",
       "YS2016030700026 -0.324096  0.203259 -0.327458 -0.249272 -0.086596 -0.093581   \n",
       "YS2016030700041  0.274318  0.203259  0.393246  0.290983  1.757263  1.329492   \n",
       "\n",
       "                     有无贷款      企业征信       净资产      流动比率     ...       \\\n",
       "应收单号                                                        ...        \n",
       "YS2016030800082  0.079079 -1.742430  0.139249 -0.501472     ...        \n",
       "YS2016030400009 -0.478549       NaN -0.546015 -0.501472     ...        \n",
       "YS2016030400024  0.079079 -0.226458  0.139249  0.632134     ...        \n",
       "YS2016030700026 -0.478549       NaN -0.546015 -0.798740     ...        \n",
       "YS2016030700041  0.079079 -0.226458  0.139249  0.632134     ...        \n",
       "\n",
       "                    交易额均值     交易稳定性  历史_最近连续交易月数  历史_账期合作时间（月）  label  \\\n",
       "应收单号                                                                    \n",
       "YS2016030800082       NaN       NaN          NaN           NaN      1   \n",
       "YS2016030400009 -0.393759 -0.419708    -0.320472     -0.201534      0   \n",
       "YS2016030400024 -0.077422 -0.419708    -0.320472     -0.201534      0   \n",
       "YS2016030700026 -0.393759  0.341359     0.270350     -0.201534      0   \n",
       "YS2016030700041 -0.077422 -0.419708    -0.320472     -0.201534      0   \n",
       "\n",
       "                  历史_交易总量  历史_交易额总量  订单时间间隔均值变化  账期订单交易量均值变化  账期订单交易额均值变化  \n",
       "应收单号                                                                       \n",
       "YS2016030800082       NaN       NaN         NaN          NaN          NaN  \n",
       "YS2016030400009 -0.132992 -0.286177         NaN          NaN          NaN  \n",
       "YS2016030400024 -0.132992 -0.286177    0.094295    -0.123942     0.162763  \n",
       "YS2016030700026  0.350617 -0.033619    0.094295    -0.123942     0.162763  \n",
       "YS2016030700041 -0.132992 -0.286177    0.094295    -0.123942     0.162763  \n",
       "\n",
       "[5 rows x 46 columns]"
      ]
     },
     "execution_count": 14,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "#spss离散之后woe编码\n",
    "def trans_int(x):\n",
    "    try:\n",
    "        return int(x)\n",
    "    except:\n",
    "        return np.nan\n",
    "samples_spss =pd.read_csv('./out1/samples_spss_bin_sort_time.csv',index_col=0)\n",
    "for col in samples_spss.columns:\n",
    "    samples_spss[col] =samples_spss[col].apply(trans_int)\n",
    "#add 0914\n",
    "tmp = ['历史_交易总量','历史_交易额总量','订单时间间隔均值变化','账期订单交易量均值变化','账期订单交易额均值变化']\n",
    "samples_spss[tmp]=zq_3m[tmp]    \n",
    "for col in ['历史_账期合作时间（月）','历史_最近连续交易月数']+tmp:\n",
    "    tmp,sf = bins_num(samples_spss[[col,'label']],col,3)\n",
    "    samples_spss[col] =sf\n",
    "for col in samples_spss.columns:\n",
    "    if col!='label':\n",
    "        woe_df = calc_woe(samples_spss[[col,'label']],col)\n",
    "        print col\n",
    "        print woe_df\n",
    "        woe_dic = woe_to_dict(woe_df)\n",
    "        samples_spss[col] =samples_spss[col].map(woe_dic)\n",
    "samples_spss.head()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 18,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style>\n",
       "    .dataframe thead tr:only-child th {\n",
       "        text-align: right;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: left;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>name</th>\n",
       "      <th>col</th>\n",
       "      <th>woe</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1.0</td>\n",
       "      <td>实收资本</td>\n",
       "      <td>-0.324096</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>2.0</td>\n",
       "      <td>实收资本</td>\n",
       "      <td>-0.052911</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>3.0</td>\n",
       "      <td>实收资本</td>\n",
       "      <td>0.274318</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>0.0</td>\n",
       "      <td>注册地址</td>\n",
       "      <td>-0.439962</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>1.0</td>\n",
       "      <td>注册地址</td>\n",
       "      <td>0.203259</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>0.0</td>\n",
       "      <td>场地归属</td>\n",
       "      <td>-0.327458</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>1.0</td>\n",
       "      <td>场地归属</td>\n",
       "      <td>0.393246</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1.0</td>\n",
       "      <td>注册时间</td>\n",
       "      <td>-0.164433</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>2.0</td>\n",
       "      <td>注册时间</td>\n",
       "      <td>-0.249272</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>3.0</td>\n",
       "      <td>注册时间</td>\n",
       "      <td>0.290983</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1.0</td>\n",
       "      <td>下游客户情况</td>\n",
       "      <td>1.757263</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>2.0</td>\n",
       "      <td>下游客户情况</td>\n",
       "      <td>-0.086596</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>4.0</td>\n",
       "      <td>下游客户情况</td>\n",
       "      <td>-0.484329</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>0.0</td>\n",
       "      <td>涉诉信息</td>\n",
       "      <td>-0.093581</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>1.0</td>\n",
       "      <td>涉诉信息</td>\n",
       "      <td>0.070214</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>2.0</td>\n",
       "      <td>涉诉信息</td>\n",
       "      <td>-1.427349</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>4.0</td>\n",
       "      <td>涉诉信息</td>\n",
       "      <td>1.329492</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>0.0</td>\n",
       "      <td>有无贷款</td>\n",
       "      <td>-0.478549</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>1.0</td>\n",
       "      <td>有无贷款</td>\n",
       "      <td>0.079079</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1.0</td>\n",
       "      <td>企业征信</td>\n",
       "      <td>-0.226458</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>2.0</td>\n",
       "      <td>企业征信</td>\n",
       "      <td>0.361412</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>3.0</td>\n",
       "      <td>企业征信</td>\n",
       "      <td>1.223350</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>4.0</td>\n",
       "      <td>企业征信</td>\n",
       "      <td>-1.742430</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1.0</td>\n",
       "      <td>净资产</td>\n",
       "      <td>-0.546015</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>2.0</td>\n",
       "      <td>净资产</td>\n",
       "      <td>0.213717</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>3.0</td>\n",
       "      <td>净资产</td>\n",
       "      <td>0.139249</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1.0</td>\n",
       "      <td>流动比率</td>\n",
       "      <td>0.632134</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>2.0</td>\n",
       "      <td>流动比率</td>\n",
       "      <td>-0.501472</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>3.0</td>\n",
       "      <td>流动比率</td>\n",
       "      <td>-0.798740</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1.0</td>\n",
       "      <td>资产负债率</td>\n",
       "      <td>-0.497970</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1.0</td>\n",
       "      <td>交易量方差</td>\n",
       "      <td>-0.258708</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>2.0</td>\n",
       "      <td>交易量方差</td>\n",
       "      <td>-0.109857</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>3.0</td>\n",
       "      <td>交易量方差</td>\n",
       "      <td>0.392582</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1.0</td>\n",
       "      <td>提前还款占比变化</td>\n",
       "      <td>0.369253</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>2.0</td>\n",
       "      <td>提前还款占比变化</td>\n",
       "      <td>-0.145107</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>3.0</td>\n",
       "      <td>提前还款占比变化</td>\n",
       "      <td>-0.780722</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1.0</td>\n",
       "      <td>历史_账期订单交易量均值</td>\n",
       "      <td>-0.028632</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>2.0</td>\n",
       "      <td>历史_账期订单交易量均值</td>\n",
       "      <td>-0.438963</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>3.0</td>\n",
       "      <td>历史_账期订单交易量均值</td>\n",
       "      <td>0.371127</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1.0</td>\n",
       "      <td>历史_交易额均值</td>\n",
       "      <td>-0.446218</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>2.0</td>\n",
       "      <td>历史_交易额均值</td>\n",
       "      <td>-0.077422</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>3.0</td>\n",
       "      <td>历史_交易额均值</td>\n",
       "      <td>0.412039</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1.0</td>\n",
       "      <td>历史_账期订单交易额均值</td>\n",
       "      <td>-0.422121</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>2.0</td>\n",
       "      <td>历史_账期订单交易额均值</td>\n",
       "      <td>-0.095122</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>3.0</td>\n",
       "      <td>历史_账期订单交易额均值</td>\n",
       "      <td>0.412039</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1.0</td>\n",
       "      <td>交易额最大值</td>\n",
       "      <td>-0.458194</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>2.0</td>\n",
       "      <td>交易额最大值</td>\n",
       "      <td>0.058664</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>3.0</td>\n",
       "      <td>交易额最大值</td>\n",
       "      <td>0.319042</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1.0</td>\n",
       "      <td>交易额均值</td>\n",
       "      <td>-0.393759</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>2.0</td>\n",
       "      <td>交易额均值</td>\n",
       "      <td>-0.077422</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>3.0</td>\n",
       "      <td>交易额均值</td>\n",
       "      <td>0.383103</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1.0</td>\n",
       "      <td>交易稳定性</td>\n",
       "      <td>-0.419708</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>2.0</td>\n",
       "      <td>交易稳定性</td>\n",
       "      <td>-0.002052</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>3.0</td>\n",
       "      <td>交易稳定性</td>\n",
       "      <td>0.341359</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>0.0</td>\n",
       "      <td>历史_最近连续交易月数</td>\n",
       "      <td>-0.320472</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>1.0</td>\n",
       "      <td>历史_最近连续交易月数</td>\n",
       "      <td>-0.130604</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>2.0</td>\n",
       "      <td>历史_最近连续交易月数</td>\n",
       "      <td>0.270350</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>0.0</td>\n",
       "      <td>历史_账期合作时间（月）</td>\n",
       "      <td>-0.201534</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>1.0</td>\n",
       "      <td>历史_账期合作时间（月）</td>\n",
       "      <td>0.251760</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>2.0</td>\n",
       "      <td>历史_账期合作时间（月）</td>\n",
       "      <td>-0.120270</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>119 rows × 3 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "    name           col       woe\n",
       "0    1.0          实收资本 -0.324096\n",
       "1    2.0          实收资本 -0.052911\n",
       "2    3.0          实收资本  0.274318\n",
       "0    0.0          注册地址 -0.439962\n",
       "1    1.0          注册地址  0.203259\n",
       "0    0.0          场地归属 -0.327458\n",
       "1    1.0          场地归属  0.393246\n",
       "0    1.0          注册时间 -0.164433\n",
       "1    2.0          注册时间 -0.249272\n",
       "2    3.0          注册时间  0.290983\n",
       "0    1.0        下游客户情况  1.757263\n",
       "1    2.0        下游客户情况 -0.086596\n",
       "2    4.0        下游客户情况 -0.484329\n",
       "0    0.0          涉诉信息 -0.093581\n",
       "1    1.0          涉诉信息  0.070214\n",
       "2    2.0          涉诉信息 -1.427349\n",
       "3    4.0          涉诉信息  1.329492\n",
       "0    0.0          有无贷款 -0.478549\n",
       "1    1.0          有无贷款  0.079079\n",
       "0    1.0          企业征信 -0.226458\n",
       "1    2.0          企业征信  0.361412\n",
       "2    3.0          企业征信  1.223350\n",
       "3    4.0          企业征信 -1.742430\n",
       "0    1.0           净资产 -0.546015\n",
       "1    2.0           净资产  0.213717\n",
       "2    3.0           净资产  0.139249\n",
       "0    1.0          流动比率  0.632134\n",
       "1    2.0          流动比率 -0.501472\n",
       "2    3.0          流动比率 -0.798740\n",
       "0    1.0         资产负债率 -0.497970\n",
       "..   ...           ...       ...\n",
       "0    1.0         交易量方差 -0.258708\n",
       "1    2.0         交易量方差 -0.109857\n",
       "2    3.0         交易量方差  0.392582\n",
       "0    1.0      提前还款占比变化  0.369253\n",
       "1    2.0      提前还款占比变化 -0.145107\n",
       "2    3.0      提前还款占比变化 -0.780722\n",
       "0    1.0  历史_账期订单交易量均值 -0.028632\n",
       "1    2.0  历史_账期订单交易量均值 -0.438963\n",
       "2    3.0  历史_账期订单交易量均值  0.371127\n",
       "0    1.0      历史_交易额均值 -0.446218\n",
       "1    2.0      历史_交易额均值 -0.077422\n",
       "2    3.0      历史_交易额均值  0.412039\n",
       "0    1.0  历史_账期订单交易额均值 -0.422121\n",
       "1    2.0  历史_账期订单交易额均值 -0.095122\n",
       "2    3.0  历史_账期订单交易额均值  0.412039\n",
       "0    1.0        交易额最大值 -0.458194\n",
       "1    2.0        交易额最大值  0.058664\n",
       "2    3.0        交易额最大值  0.319042\n",
       "0    1.0         交易额均值 -0.393759\n",
       "1    2.0         交易额均值 -0.077422\n",
       "2    3.0         交易额均值  0.383103\n",
       "0    1.0         交易稳定性 -0.419708\n",
       "1    2.0         交易稳定性 -0.002052\n",
       "2    3.0         交易稳定性  0.341359\n",
       "0    0.0   历史_最近连续交易月数 -0.320472\n",
       "1    1.0   历史_最近连续交易月数 -0.130604\n",
       "2    2.0   历史_最近连续交易月数  0.270350\n",
       "0    0.0  历史_账期合作时间（月） -0.201534\n",
       "1    1.0  历史_账期合作时间（月）  0.251760\n",
       "2    2.0  历史_账期合作时间（月） -0.120270\n",
       "\n",
       "[119 rows x 3 columns]"
      ]
     },
     "execution_count": 18,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "#保存woe\n",
    "df_mu =pd.DataFrame()\n",
    "def trans_int(x):\n",
    "    try:\n",
    "        return int(x)\n",
    "    except:\n",
    "        return np.nan\n",
    "samples_spss =pd.read_csv('./out1/samples_spss_bin_sort_time.csv',index_col=0)\n",
    "for col in samples_spss.columns:\n",
    "    samples_spss[col] =samples_spss[col].apply(trans_int)\n",
    "for col in ['历史_账期合作时间（月）','历史_最近连续交易月数']:\n",
    "    tmp,sf = bins_num(samples_spss[[col,'label']],col,3)\n",
    "    samples_spss[col] =sf\n",
    "for col in samples_spss.columns:\n",
    "    if col!='label':\n",
    "        woe_df = calc_woe(samples_spss[[col,'label']],col)\n",
    "        woe_df['col'] = [col]*woe_df.shape[0]\n",
    "        df_mu=pd.concat([df_mu,woe_df[['name','col','woe']]])\n",
    "df_mu.to_csv('./out1/woe_cols.csv',index=None)        \n",
    "df_mu"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style>\n",
       "    .dataframe thead tr:only-child th {\n",
       "        text-align: right;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: left;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>实收资本</th>\n",
       "      <th>注册地址</th>\n",
       "      <th>场地归属</th>\n",
       "      <th>注册时间</th>\n",
       "      <th>下游客户情况</th>\n",
       "      <th>涉诉信息</th>\n",
       "      <th>有无贷款</th>\n",
       "      <th>企业征信</th>\n",
       "      <th>净资产</th>\n",
       "      <th>流动比率</th>\n",
       "      <th>...</th>\n",
       "      <th>提前还款占比变化</th>\n",
       "      <th>历史_账期订单交易量均值</th>\n",
       "      <th>历史_交易额均值</th>\n",
       "      <th>历史_账期订单交易额均值</th>\n",
       "      <th>交易额最大值</th>\n",
       "      <th>交易额均值</th>\n",
       "      <th>交易稳定性</th>\n",
       "      <th>历史_最近连续交易月数</th>\n",
       "      <th>历史_账期合作时间（月）</th>\n",
       "      <th>label</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>-0.324096</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>0.290983</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>1.223350</td>\n",
       "      <td>0.213717</td>\n",
       "      <td>-0.798740</td>\n",
       "      <td>...</td>\n",
       "      <td>0.369253</td>\n",
       "      <td>-0.028632</td>\n",
       "      <td>-0.446218</td>\n",
       "      <td>-0.422121</td>\n",
       "      <td>-0.458194</td>\n",
       "      <td>-0.393759</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>0.270350</td>\n",
       "      <td>0.251760</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>-0.324096</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>0.290983</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>1.223350</td>\n",
       "      <td>0.213717</td>\n",
       "      <td>-0.798740</td>\n",
       "      <td>...</td>\n",
       "      <td>0.369253</td>\n",
       "      <td>-0.438963</td>\n",
       "      <td>-0.446218</td>\n",
       "      <td>-0.422121</td>\n",
       "      <td>-0.458194</td>\n",
       "      <td>-0.393759</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>0.270350</td>\n",
       "      <td>0.251760</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>-0.324096</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>0.290983</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>1.223350</td>\n",
       "      <td>0.213717</td>\n",
       "      <td>-0.798740</td>\n",
       "      <td>...</td>\n",
       "      <td>0.369253</td>\n",
       "      <td>-0.438963</td>\n",
       "      <td>-0.446218</td>\n",
       "      <td>-0.422121</td>\n",
       "      <td>-0.458194</td>\n",
       "      <td>-0.393759</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>0.270350</td>\n",
       "      <td>0.251760</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>-0.324096</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>0.290983</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>1.223350</td>\n",
       "      <td>0.213717</td>\n",
       "      <td>-0.798740</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.182491</td>\n",
       "      <td>-0.438963</td>\n",
       "      <td>-0.446218</td>\n",
       "      <td>-0.422121</td>\n",
       "      <td>-0.458194</td>\n",
       "      <td>-0.393759</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>-0.052911</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>0.290983</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>0.070214</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>1.223350</td>\n",
       "      <td>0.139249</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.693111</td>\n",
       "      <td>0.371127</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.095122</td>\n",
       "      <td>0.058664</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.002052</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>0.251760</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>-0.052911</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>0.290983</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>0.070214</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>1.223350</td>\n",
       "      <td>0.139249</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.693111</td>\n",
       "      <td>0.371127</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.095122</td>\n",
       "      <td>0.058664</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.002052</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>0.251760</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>-0.052911</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>0.290983</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>0.070214</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>1.223350</td>\n",
       "      <td>0.139249</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.182491</td>\n",
       "      <td>-0.438963</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.095122</td>\n",
       "      <td>0.058664</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>0.251760</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>-0.052911</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>0.290983</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>0.070214</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>1.223350</td>\n",
       "      <td>0.139249</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.182491</td>\n",
       "      <td>-0.438963</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.095122</td>\n",
       "      <td>0.058664</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>0.251760</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>-0.052911</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>0.290983</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>0.070214</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>1.223350</td>\n",
       "      <td>0.139249</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.182491</td>\n",
       "      <td>0.371127</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.095122</td>\n",
       "      <td>0.058664</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>0.251760</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>-0.052911</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>0.290983</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>0.070214</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>1.223350</td>\n",
       "      <td>0.139249</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.182491</td>\n",
       "      <td>0.371127</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.095122</td>\n",
       "      <td>0.058664</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.002052</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>0.251760</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>-0.052911</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>0.290983</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>0.070214</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>1.223350</td>\n",
       "      <td>0.139249</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.371127</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.095122</td>\n",
       "      <td>0.058664</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.002052</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>0.251760</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>-0.052911</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>0.290983</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>0.070214</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>1.223350</td>\n",
       "      <td>0.139249</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.371127</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.095122</td>\n",
       "      <td>0.058664</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.002052</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>0.251760</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>-0.052911</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>0.290983</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>0.070214</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>1.223350</td>\n",
       "      <td>0.139249</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.371127</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>0.412039</td>\n",
       "      <td>0.058664</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.320472</td>\n",
       "      <td>0.251760</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>-0.052911</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>0.290983</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>0.070214</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>1.223350</td>\n",
       "      <td>0.139249</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.371127</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>0.412039</td>\n",
       "      <td>0.058664</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.002052</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>-0.052911</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>0.290983</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>0.070214</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>1.223350</td>\n",
       "      <td>0.139249</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.371127</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>0.412039</td>\n",
       "      <td>0.058664</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.002052</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>-0.052911</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>-0.249272</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.070214</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>-0.546015</td>\n",
       "      <td>-0.501472</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.182491</td>\n",
       "      <td>-0.028632</td>\n",
       "      <td>-0.446218</td>\n",
       "      <td>-0.422121</td>\n",
       "      <td>-0.458194</td>\n",
       "      <td>-0.393759</td>\n",
       "      <td>-0.002052</td>\n",
       "      <td>0.270350</td>\n",
       "      <td>0.251760</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>-0.052911</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>-0.249272</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.070214</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>-0.546015</td>\n",
       "      <td>-0.501472</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.182491</td>\n",
       "      <td>-0.028632</td>\n",
       "      <td>-0.446218</td>\n",
       "      <td>-0.422121</td>\n",
       "      <td>-0.458194</td>\n",
       "      <td>-0.393759</td>\n",
       "      <td>-0.002052</td>\n",
       "      <td>0.270350</td>\n",
       "      <td>0.251760</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>-0.052911</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>-0.249272</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.070214</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>-0.546015</td>\n",
       "      <td>-0.501472</td>\n",
       "      <td>...</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.028632</td>\n",
       "      <td>-0.446218</td>\n",
       "      <td>-0.422121</td>\n",
       "      <td>-0.458194</td>\n",
       "      <td>-0.393759</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>0.270350</td>\n",
       "      <td>0.251760</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>-0.052911</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>-0.249272</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.070214</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>-0.546015</td>\n",
       "      <td>-0.501472</td>\n",
       "      <td>...</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.028632</td>\n",
       "      <td>-0.446218</td>\n",
       "      <td>-0.422121</td>\n",
       "      <td>-0.458194</td>\n",
       "      <td>-0.393759</td>\n",
       "      <td>-0.002052</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>-0.052911</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>-0.249272</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.070214</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>-0.546015</td>\n",
       "      <td>-0.501472</td>\n",
       "      <td>...</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.028632</td>\n",
       "      <td>-0.446218</td>\n",
       "      <td>-0.422121</td>\n",
       "      <td>-0.458194</td>\n",
       "      <td>-0.393759</td>\n",
       "      <td>-0.002052</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>-0.052911</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>-0.249272</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.070214</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>-0.546015</td>\n",
       "      <td>-0.501472</td>\n",
       "      <td>...</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.028632</td>\n",
       "      <td>-0.446218</td>\n",
       "      <td>-0.422121</td>\n",
       "      <td>-0.458194</td>\n",
       "      <td>-0.393759</td>\n",
       "      <td>-0.002052</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>-0.052911</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>-0.249272</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.070214</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>-0.546015</td>\n",
       "      <td>-0.501472</td>\n",
       "      <td>...</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.028632</td>\n",
       "      <td>-0.446218</td>\n",
       "      <td>-0.422121</td>\n",
       "      <td>-0.458194</td>\n",
       "      <td>-0.393759</td>\n",
       "      <td>-0.002052</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>-0.324096</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>-0.249272</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.213717</td>\n",
       "      <td>-0.798740</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.182491</td>\n",
       "      <td>-0.028632</td>\n",
       "      <td>-0.446218</td>\n",
       "      <td>-0.095122</td>\n",
       "      <td>-0.458194</td>\n",
       "      <td>-0.393759</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>-0.324096</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>-0.249272</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.213717</td>\n",
       "      <td>-0.798740</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.182491</td>\n",
       "      <td>-0.028632</td>\n",
       "      <td>-0.446218</td>\n",
       "      <td>-0.422121</td>\n",
       "      <td>-0.458194</td>\n",
       "      <td>-0.393759</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>-0.324096</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>-0.249272</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.213717</td>\n",
       "      <td>-0.798740</td>\n",
       "      <td>...</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.028632</td>\n",
       "      <td>-0.446218</td>\n",
       "      <td>-0.095122</td>\n",
       "      <td>-0.458194</td>\n",
       "      <td>-0.393759</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>-0.324096</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>-0.249272</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.213717</td>\n",
       "      <td>-0.798740</td>\n",
       "      <td>...</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.028632</td>\n",
       "      <td>-0.446218</td>\n",
       "      <td>-0.095122</td>\n",
       "      <td>-0.458194</td>\n",
       "      <td>-0.393759</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>-0.324096</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>-0.249272</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.213717</td>\n",
       "      <td>-0.798740</td>\n",
       "      <td>...</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.028632</td>\n",
       "      <td>-0.446218</td>\n",
       "      <td>-0.422121</td>\n",
       "      <td>-0.458194</td>\n",
       "      <td>-0.393759</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.320472</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>-0.052911</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>-0.164433</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.213717</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.693111</td>\n",
       "      <td>-0.438963</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>0.412039</td>\n",
       "      <td>0.058664</td>\n",
       "      <td>0.383103</td>\n",
       "      <td>0.341359</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>0.251760</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>-0.052911</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>-0.164433</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.213717</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.693111</td>\n",
       "      <td>-0.438963</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.095122</td>\n",
       "      <td>-0.458194</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.002052</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>0.251760</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>-0.052911</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>-0.164433</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.213717</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.693111</td>\n",
       "      <td>-0.438963</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.095122</td>\n",
       "      <td>-0.458194</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.320472</td>\n",
       "      <td>0.251760</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1361</th>\n",
       "      <td>-0.324096</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>-0.164433</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>-0.546015</td>\n",
       "      <td>-0.501472</td>\n",
       "      <td>...</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.028632</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.095122</td>\n",
       "      <td>-0.458194</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.320472</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1362</th>\n",
       "      <td>-0.324096</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>-0.164433</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>-0.546015</td>\n",
       "      <td>-0.501472</td>\n",
       "      <td>...</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1363</th>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>...</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.028632</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.095122</td>\n",
       "      <td>-0.458194</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.002052</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>-0.120270</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1364</th>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>...</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.028632</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.095122</td>\n",
       "      <td>-0.458194</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.002052</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>-0.120270</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1365</th>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>...</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.028632</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.095122</td>\n",
       "      <td>-0.458194</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.002052</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>-0.120270</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1366</th>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>...</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.028632</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.095122</td>\n",
       "      <td>-0.458194</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.002052</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>-0.120270</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1367</th>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>...</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.028632</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.095122</td>\n",
       "      <td>-0.458194</td>\n",
       "      <td>-0.393759</td>\n",
       "      <td>-0.002052</td>\n",
       "      <td>-0.320472</td>\n",
       "      <td>0.251760</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1368</th>\n",
       "      <td>-0.052911</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>-0.164433</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.546015</td>\n",
       "      <td>-0.798740</td>\n",
       "      <td>...</td>\n",
       "      <td>0.369253</td>\n",
       "      <td>-0.028632</td>\n",
       "      <td>-0.446218</td>\n",
       "      <td>-0.422121</td>\n",
       "      <td>-0.458194</td>\n",
       "      <td>-0.393759</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>0.270350</td>\n",
       "      <td>-0.120270</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1369</th>\n",
       "      <td>-0.052911</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>0.290983</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>0.213717</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.182491</td>\n",
       "      <td>-0.028632</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.095122</td>\n",
       "      <td>-0.458194</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.320472</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1370</th>\n",
       "      <td>-0.324096</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>0.290983</td>\n",
       "      <td>-0.484329</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>-0.478549</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.546015</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.693111</td>\n",
       "      <td>-0.028632</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.095122</td>\n",
       "      <td>-0.458194</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>0.251760</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1371</th>\n",
       "      <td>-0.324096</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>0.290983</td>\n",
       "      <td>-0.484329</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>-0.478549</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.546015</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>0.369253</td>\n",
       "      <td>-0.028632</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.095122</td>\n",
       "      <td>-0.458194</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.320472</td>\n",
       "      <td>0.251760</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1372</th>\n",
       "      <td>-0.324096</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>0.290983</td>\n",
       "      <td>-0.484329</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>-0.478549</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.546015</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>0.369253</td>\n",
       "      <td>-0.028632</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.095122</td>\n",
       "      <td>-0.458194</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>0.251760</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1373</th>\n",
       "      <td>-0.324096</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>0.290983</td>\n",
       "      <td>-0.484329</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>-0.478549</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.546015</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.182491</td>\n",
       "      <td>-0.028632</td>\n",
       "      <td>0.412039</td>\n",
       "      <td>-0.095122</td>\n",
       "      <td>-0.458194</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.002052</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1374</th>\n",
       "      <td>-0.324096</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>0.290983</td>\n",
       "      <td>-0.484329</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>-0.478549</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.546015</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.182491</td>\n",
       "      <td>-0.028632</td>\n",
       "      <td>0.412039</td>\n",
       "      <td>0.412039</td>\n",
       "      <td>-0.458194</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.320472</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1375</th>\n",
       "      <td>-0.324096</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>0.290983</td>\n",
       "      <td>-0.484329</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>-0.478549</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.546015</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1376</th>\n",
       "      <td>-0.052911</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>-0.249272</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>0.213717</td>\n",
       "      <td>-0.798740</td>\n",
       "      <td>...</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.028632</td>\n",
       "      <td>-0.446218</td>\n",
       "      <td>-0.422121</td>\n",
       "      <td>-0.458194</td>\n",
       "      <td>-0.393759</td>\n",
       "      <td>0.341359</td>\n",
       "      <td>-0.320472</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1377</th>\n",
       "      <td>-0.052911</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>-0.249272</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>0.213717</td>\n",
       "      <td>-0.798740</td>\n",
       "      <td>...</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.028632</td>\n",
       "      <td>-0.446218</td>\n",
       "      <td>-0.422121</td>\n",
       "      <td>-0.458194</td>\n",
       "      <td>-0.393759</td>\n",
       "      <td>0.341359</td>\n",
       "      <td>-0.320472</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1378</th>\n",
       "      <td>-0.052911</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>-0.249272</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>0.213717</td>\n",
       "      <td>-0.798740</td>\n",
       "      <td>...</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.028632</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.095122</td>\n",
       "      <td>-0.458194</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.320472</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1379</th>\n",
       "      <td>-0.052911</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>-0.249272</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>0.213717</td>\n",
       "      <td>-0.798740</td>\n",
       "      <td>...</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.028632</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.095122</td>\n",
       "      <td>-0.458194</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.320472</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1380</th>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>...</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.028632</td>\n",
       "      <td>0.412039</td>\n",
       "      <td>0.412039</td>\n",
       "      <td>0.058664</td>\n",
       "      <td>0.383103</td>\n",
       "      <td>0.341359</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>-0.120270</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1381</th>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>...</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.028632</td>\n",
       "      <td>0.412039</td>\n",
       "      <td>0.412039</td>\n",
       "      <td>0.058664</td>\n",
       "      <td>0.383103</td>\n",
       "      <td>0.341359</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>-0.120270</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1382</th>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>...</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.028632</td>\n",
       "      <td>0.412039</td>\n",
       "      <td>0.412039</td>\n",
       "      <td>0.058664</td>\n",
       "      <td>0.383103</td>\n",
       "      <td>0.341359</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>-0.120270</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1383</th>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>...</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.028632</td>\n",
       "      <td>0.412039</td>\n",
       "      <td>0.412039</td>\n",
       "      <td>0.058664</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>0.341359</td>\n",
       "      <td>-0.320472</td>\n",
       "      <td>0.251760</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1384</th>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>...</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.028632</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.095122</td>\n",
       "      <td>0.058664</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>0.251760</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1385</th>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>...</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.028632</td>\n",
       "      <td>0.412039</td>\n",
       "      <td>0.412039</td>\n",
       "      <td>0.058664</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>0.251760</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1386</th>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>...</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.028632</td>\n",
       "      <td>0.412039</td>\n",
       "      <td>0.412039</td>\n",
       "      <td>0.058664</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1387</th>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>...</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.028632</td>\n",
       "      <td>0.412039</td>\n",
       "      <td>0.412039</td>\n",
       "      <td>0.058664</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1388</th>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>...</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.028632</td>\n",
       "      <td>0.412039</td>\n",
       "      <td>0.412039</td>\n",
       "      <td>0.058664</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.320472</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1389</th>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>...</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.028632</td>\n",
       "      <td>0.412039</td>\n",
       "      <td>0.412039</td>\n",
       "      <td>0.058664</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.320472</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1390</th>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>...</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>1391 rows × 41 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "          实收资本      注册地址      场地归属      注册时间    下游客户情况      涉诉信息      有无贷款  \\\n",
       "0    -0.324096 -0.439962 -0.327458  0.290983 -0.086596 -0.093581  0.079079   \n",
       "1    -0.324096 -0.439962 -0.327458  0.290983 -0.086596 -0.093581  0.079079   \n",
       "2    -0.324096 -0.439962 -0.327458  0.290983 -0.086596 -0.093581  0.079079   \n",
       "3    -0.324096 -0.439962 -0.327458  0.290983 -0.086596 -0.093581  0.079079   \n",
       "4    -0.052911 -0.439962  0.393246  0.290983 -0.086596  0.070214  0.079079   \n",
       "5    -0.052911 -0.439962  0.393246  0.290983 -0.086596  0.070214  0.079079   \n",
       "6    -0.052911 -0.439962  0.393246  0.290983 -0.086596  0.070214  0.079079   \n",
       "7    -0.052911 -0.439962  0.393246  0.290983 -0.086596  0.070214  0.079079   \n",
       "8    -0.052911 -0.439962  0.393246  0.290983 -0.086596  0.070214  0.079079   \n",
       "9    -0.052911 -0.439962  0.393246  0.290983 -0.086596  0.070214  0.079079   \n",
       "10   -0.052911 -0.439962  0.393246  0.290983 -0.086596  0.070214  0.079079   \n",
       "11   -0.052911 -0.439962  0.393246  0.290983 -0.086596  0.070214  0.079079   \n",
       "12   -0.052911 -0.439962  0.393246  0.290983 -0.086596  0.070214  0.079079   \n",
       "13   -0.052911 -0.439962  0.393246  0.290983 -0.086596  0.070214  0.079079   \n",
       "14   -0.052911 -0.439962  0.393246  0.290983 -0.086596  0.070214  0.079079   \n",
       "15   -0.052911  0.203259 -0.327458 -0.249272  0.000000  0.070214  0.079079   \n",
       "16   -0.052911  0.203259 -0.327458 -0.249272  0.000000  0.070214  0.079079   \n",
       "17   -0.052911  0.203259 -0.327458 -0.249272  0.000000  0.070214  0.079079   \n",
       "18   -0.052911  0.203259 -0.327458 -0.249272  0.000000  0.070214  0.079079   \n",
       "19   -0.052911  0.203259 -0.327458 -0.249272  0.000000  0.070214  0.079079   \n",
       "20   -0.052911  0.203259 -0.327458 -0.249272  0.000000  0.070214  0.079079   \n",
       "21   -0.052911  0.203259 -0.327458 -0.249272  0.000000  0.070214  0.079079   \n",
       "22   -0.324096 -0.439962 -0.327458 -0.249272  0.000000 -0.093581  0.000000   \n",
       "23   -0.324096 -0.439962 -0.327458 -0.249272  0.000000 -0.093581  0.000000   \n",
       "24   -0.324096 -0.439962 -0.327458 -0.249272  0.000000 -0.093581  0.000000   \n",
       "25   -0.324096 -0.439962 -0.327458 -0.249272  0.000000 -0.093581  0.000000   \n",
       "26   -0.324096 -0.439962 -0.327458 -0.249272  0.000000 -0.093581  0.000000   \n",
       "27   -0.052911  0.203259  0.393246 -0.164433  0.000000 -0.093581  0.000000   \n",
       "28   -0.052911  0.203259  0.393246 -0.164433  0.000000 -0.093581  0.000000   \n",
       "29   -0.052911  0.203259  0.393246 -0.164433  0.000000 -0.093581  0.000000   \n",
       "...        ...       ...       ...       ...       ...       ...       ...   \n",
       "1361 -0.324096  0.203259 -0.327458 -0.164433 -0.086596 -0.093581  0.079079   \n",
       "1362 -0.324096  0.203259 -0.327458 -0.164433 -0.086596 -0.093581  0.079079   \n",
       "1363  0.000000  0.000000  0.000000  0.000000  0.000000  0.000000  0.000000   \n",
       "1364  0.000000  0.000000  0.000000  0.000000  0.000000  0.000000  0.000000   \n",
       "1365  0.000000  0.000000  0.000000  0.000000  0.000000  0.000000  0.000000   \n",
       "1366  0.000000  0.000000  0.000000  0.000000  0.000000  0.000000  0.000000   \n",
       "1367  0.000000  0.000000  0.000000  0.000000  0.000000  0.000000  0.000000   \n",
       "1368 -0.052911  0.203259  0.393246 -0.164433  0.000000 -0.093581  0.000000   \n",
       "1369 -0.052911  0.203259 -0.327458  0.290983 -0.086596 -0.093581  0.079079   \n",
       "1370 -0.324096 -0.439962 -0.327458  0.290983 -0.484329 -0.093581 -0.478549   \n",
       "1371 -0.324096 -0.439962 -0.327458  0.290983 -0.484329 -0.093581 -0.478549   \n",
       "1372 -0.324096 -0.439962 -0.327458  0.290983 -0.484329 -0.093581 -0.478549   \n",
       "1373 -0.324096 -0.439962 -0.327458  0.290983 -0.484329 -0.093581 -0.478549   \n",
       "1374 -0.324096 -0.439962 -0.327458  0.290983 -0.484329 -0.093581 -0.478549   \n",
       "1375 -0.324096 -0.439962 -0.327458  0.290983 -0.484329 -0.093581 -0.478549   \n",
       "1376 -0.052911  0.203259  0.393246 -0.249272  0.000000 -0.093581  0.079079   \n",
       "1377 -0.052911  0.203259  0.393246 -0.249272  0.000000 -0.093581  0.079079   \n",
       "1378 -0.052911  0.203259  0.393246 -0.249272  0.000000 -0.093581  0.079079   \n",
       "1379 -0.052911  0.203259  0.393246 -0.249272  0.000000 -0.093581  0.079079   \n",
       "1380  0.000000  0.000000  0.000000  0.000000  0.000000  0.000000  0.000000   \n",
       "1381  0.000000  0.000000  0.000000  0.000000  0.000000  0.000000  0.000000   \n",
       "1382  0.000000  0.000000  0.000000  0.000000  0.000000  0.000000  0.000000   \n",
       "1383  0.000000  0.000000  0.000000  0.000000  0.000000  0.000000  0.000000   \n",
       "1384  0.000000  0.000000  0.000000  0.000000  0.000000  0.000000  0.000000   \n",
       "1385  0.000000  0.000000  0.000000  0.000000  0.000000  0.000000  0.000000   \n",
       "1386  0.000000  0.000000  0.000000  0.000000  0.000000  0.000000  0.000000   \n",
       "1387  0.000000  0.000000  0.000000  0.000000  0.000000  0.000000  0.000000   \n",
       "1388  0.000000  0.000000  0.000000  0.000000  0.000000  0.000000  0.000000   \n",
       "1389  0.000000  0.000000  0.000000  0.000000  0.000000  0.000000  0.000000   \n",
       "1390  0.000000  0.000000  0.000000  0.000000  0.000000  0.000000  0.000000   \n",
       "\n",
       "          企业征信       净资产      流动比率  ...    提前还款占比变化  历史_账期订单交易量均值  历史_交易额均值  \\\n",
       "0     1.223350  0.213717 -0.798740  ...    0.369253     -0.028632 -0.446218   \n",
       "1     1.223350  0.213717 -0.798740  ...    0.369253     -0.438963 -0.446218   \n",
       "2     1.223350  0.213717 -0.798740  ...    0.369253     -0.438963 -0.446218   \n",
       "3     1.223350  0.213717 -0.798740  ...   -0.182491     -0.438963 -0.446218   \n",
       "4     1.223350  0.139249  0.632134  ...   -0.693111      0.371127 -0.077422   \n",
       "5     1.223350  0.139249  0.632134  ...   -0.693111      0.371127 -0.077422   \n",
       "6     1.223350  0.139249  0.632134  ...   -0.182491     -0.438963 -0.077422   \n",
       "7     1.223350  0.139249  0.632134  ...   -0.182491     -0.438963 -0.077422   \n",
       "8     1.223350  0.139249  0.632134  ...   -0.182491      0.371127 -0.077422   \n",
       "9     1.223350  0.139249  0.632134  ...   -0.182491      0.371127 -0.077422   \n",
       "10    1.223350  0.139249  0.632134  ...    0.000000      0.371127 -0.077422   \n",
       "11    1.223350  0.139249  0.632134  ...    0.000000      0.371127 -0.077422   \n",
       "12    1.223350  0.139249  0.632134  ...    0.000000      0.371127 -0.077422   \n",
       "13    1.223350  0.139249  0.632134  ...    0.000000      0.371127 -0.077422   \n",
       "14    1.223350  0.139249  0.632134  ...    0.000000      0.371127 -0.077422   \n",
       "15   -0.226458 -0.546015 -0.501472  ...   -0.182491     -0.028632 -0.446218   \n",
       "16   -0.226458 -0.546015 -0.501472  ...   -0.182491     -0.028632 -0.446218   \n",
       "17   -0.226458 -0.546015 -0.501472  ...    0.000000     -0.028632 -0.446218   \n",
       "18   -0.226458 -0.546015 -0.501472  ...    0.000000     -0.028632 -0.446218   \n",
       "19   -0.226458 -0.546015 -0.501472  ...    0.000000     -0.028632 -0.446218   \n",
       "20   -0.226458 -0.546015 -0.501472  ...    0.000000     -0.028632 -0.446218   \n",
       "21   -0.226458 -0.546015 -0.501472  ...    0.000000     -0.028632 -0.446218   \n",
       "22    0.000000  0.213717 -0.798740  ...   -0.182491     -0.028632 -0.446218   \n",
       "23    0.000000  0.213717 -0.798740  ...   -0.182491     -0.028632 -0.446218   \n",
       "24    0.000000  0.213717 -0.798740  ...    0.000000     -0.028632 -0.446218   \n",
       "25    0.000000  0.213717 -0.798740  ...    0.000000     -0.028632 -0.446218   \n",
       "26    0.000000  0.213717 -0.798740  ...    0.000000     -0.028632 -0.446218   \n",
       "27    0.000000  0.213717  0.632134  ...   -0.693111     -0.438963 -0.077422   \n",
       "28    0.000000  0.213717  0.632134  ...   -0.693111     -0.438963 -0.077422   \n",
       "29    0.000000  0.213717  0.632134  ...   -0.693111     -0.438963 -0.077422   \n",
       "...        ...       ...       ...  ...         ...           ...       ...   \n",
       "1361 -0.226458 -0.546015 -0.501472  ...    0.000000     -0.028632 -0.077422   \n",
       "1362 -0.226458 -0.546015 -0.501472  ...    0.000000      0.000000  0.000000   \n",
       "1363  0.000000  0.000000  0.000000  ...    0.000000     -0.028632 -0.077422   \n",
       "1364  0.000000  0.000000  0.000000  ...    0.000000     -0.028632 -0.077422   \n",
       "1365  0.000000  0.000000  0.000000  ...    0.000000     -0.028632 -0.077422   \n",
       "1366  0.000000  0.000000  0.000000  ...    0.000000     -0.028632 -0.077422   \n",
       "1367  0.000000  0.000000  0.000000  ...    0.000000     -0.028632 -0.077422   \n",
       "1368  0.000000 -0.546015 -0.798740  ...    0.369253     -0.028632 -0.446218   \n",
       "1369 -0.226458  0.213717  0.632134  ...   -0.182491     -0.028632 -0.077422   \n",
       "1370  0.000000 -0.546015  0.632134  ...   -0.693111     -0.028632 -0.077422   \n",
       "1371  0.000000 -0.546015  0.632134  ...    0.369253     -0.028632 -0.077422   \n",
       "1372  0.000000 -0.546015  0.632134  ...    0.369253     -0.028632 -0.077422   \n",
       "1373  0.000000 -0.546015  0.632134  ...   -0.182491     -0.028632  0.412039   \n",
       "1374  0.000000 -0.546015  0.632134  ...   -0.182491     -0.028632  0.412039   \n",
       "1375  0.000000 -0.546015  0.632134  ...    0.000000      0.000000  0.000000   \n",
       "1376 -0.226458  0.213717 -0.798740  ...    0.000000     -0.028632 -0.446218   \n",
       "1377 -0.226458  0.213717 -0.798740  ...    0.000000     -0.028632 -0.446218   \n",
       "1378 -0.226458  0.213717 -0.798740  ...    0.000000     -0.028632 -0.077422   \n",
       "1379 -0.226458  0.213717 -0.798740  ...    0.000000     -0.028632 -0.077422   \n",
       "1380  0.000000  0.000000  0.000000  ...    0.000000     -0.028632  0.412039   \n",
       "1381  0.000000  0.000000  0.000000  ...    0.000000     -0.028632  0.412039   \n",
       "1382  0.000000  0.000000  0.000000  ...    0.000000     -0.028632  0.412039   \n",
       "1383  0.000000  0.000000  0.000000  ...    0.000000     -0.028632  0.412039   \n",
       "1384  0.000000  0.000000  0.000000  ...    0.000000     -0.028632 -0.077422   \n",
       "1385  0.000000  0.000000  0.000000  ...    0.000000     -0.028632  0.412039   \n",
       "1386  0.000000  0.000000  0.000000  ...    0.000000     -0.028632  0.412039   \n",
       "1387  0.000000  0.000000  0.000000  ...    0.000000     -0.028632  0.412039   \n",
       "1388  0.000000  0.000000  0.000000  ...    0.000000     -0.028632  0.412039   \n",
       "1389  0.000000  0.000000  0.000000  ...    0.000000     -0.028632  0.412039   \n",
       "1390  0.000000  0.000000  0.000000  ...    0.000000      0.000000  0.000000   \n",
       "\n",
       "      历史_账期订单交易额均值    交易额最大值     交易额均值     交易稳定性  历史_最近连续交易月数  历史_账期合作时间（月）  \\\n",
       "0        -0.422121 -0.458194 -0.393759 -0.419708     0.270350      0.251760   \n",
       "1        -0.422121 -0.458194 -0.393759 -0.419708     0.270350      0.251760   \n",
       "2        -0.422121 -0.458194 -0.393759 -0.419708     0.270350      0.251760   \n",
       "3        -0.422121 -0.458194 -0.393759 -0.419708    -0.130604     -0.201534   \n",
       "4        -0.095122  0.058664 -0.077422 -0.002052    -0.130604      0.251760   \n",
       "5        -0.095122  0.058664 -0.077422 -0.002052    -0.130604      0.251760   \n",
       "6        -0.095122  0.058664 -0.077422 -0.419708    -0.130604      0.251760   \n",
       "7        -0.095122  0.058664 -0.077422 -0.419708    -0.130604      0.251760   \n",
       "8        -0.095122  0.058664 -0.077422 -0.419708    -0.130604      0.251760   \n",
       "9        -0.095122  0.058664 -0.077422 -0.002052    -0.130604      0.251760   \n",
       "10       -0.095122  0.058664 -0.077422 -0.002052    -0.130604      0.251760   \n",
       "11       -0.095122  0.058664 -0.077422 -0.002052    -0.130604      0.251760   \n",
       "12        0.412039  0.058664 -0.077422 -0.419708    -0.320472      0.251760   \n",
       "13        0.412039  0.058664 -0.077422 -0.002052    -0.130604     -0.201534   \n",
       "14        0.412039  0.058664 -0.077422 -0.002052    -0.130604     -0.201534   \n",
       "15       -0.422121 -0.458194 -0.393759 -0.002052     0.270350      0.251760   \n",
       "16       -0.422121 -0.458194 -0.393759 -0.002052     0.270350      0.251760   \n",
       "17       -0.422121 -0.458194 -0.393759 -0.419708     0.270350      0.251760   \n",
       "18       -0.422121 -0.458194 -0.393759 -0.002052    -0.130604     -0.201534   \n",
       "19       -0.422121 -0.458194 -0.393759 -0.002052    -0.130604     -0.201534   \n",
       "20       -0.422121 -0.458194 -0.393759 -0.002052    -0.130604     -0.201534   \n",
       "21       -0.422121 -0.458194 -0.393759 -0.002052    -0.130604     -0.201534   \n",
       "22       -0.095122 -0.458194 -0.393759 -0.419708    -0.130604     -0.201534   \n",
       "23       -0.422121 -0.458194 -0.393759 -0.419708    -0.130604     -0.201534   \n",
       "24       -0.095122 -0.458194 -0.393759 -0.419708    -0.130604     -0.201534   \n",
       "25       -0.095122 -0.458194 -0.393759 -0.419708    -0.130604     -0.201534   \n",
       "26       -0.422121 -0.458194 -0.393759 -0.419708    -0.320472     -0.201534   \n",
       "27        0.412039  0.058664  0.383103  0.341359    -0.130604      0.251760   \n",
       "28       -0.095122 -0.458194 -0.077422 -0.002052    -0.130604      0.251760   \n",
       "29       -0.095122 -0.458194 -0.077422 -0.419708    -0.320472      0.251760   \n",
       "...            ...       ...       ...       ...          ...           ...   \n",
       "1361     -0.095122 -0.458194 -0.077422 -0.419708    -0.320472     -0.201534   \n",
       "1362      0.000000  0.000000  0.000000  0.000000     0.000000      0.000000   \n",
       "1363     -0.095122 -0.458194 -0.077422 -0.002052    -0.130604     -0.120270   \n",
       "1364     -0.095122 -0.458194 -0.077422 -0.002052    -0.130604     -0.120270   \n",
       "1365     -0.095122 -0.458194 -0.077422 -0.002052    -0.130604     -0.120270   \n",
       "1366     -0.095122 -0.458194 -0.077422 -0.002052    -0.130604     -0.120270   \n",
       "1367     -0.095122 -0.458194 -0.393759 -0.002052    -0.320472      0.251760   \n",
       "1368     -0.422121 -0.458194 -0.393759 -0.419708     0.270350     -0.120270   \n",
       "1369     -0.095122 -0.458194 -0.077422 -0.419708    -0.320472     -0.201534   \n",
       "1370     -0.095122 -0.458194 -0.077422 -0.419708    -0.130604      0.251760   \n",
       "1371     -0.095122 -0.458194 -0.077422 -0.419708    -0.320472      0.251760   \n",
       "1372     -0.095122 -0.458194 -0.077422 -0.419708    -0.130604      0.251760   \n",
       "1373     -0.095122 -0.458194 -0.077422 -0.002052    -0.130604     -0.201534   \n",
       "1374      0.412039 -0.458194 -0.077422 -0.419708    -0.320472     -0.201534   \n",
       "1375      0.000000  0.000000  0.000000  0.000000     0.000000      0.000000   \n",
       "1376     -0.422121 -0.458194 -0.393759  0.341359    -0.320472     -0.201534   \n",
       "1377     -0.422121 -0.458194 -0.393759  0.341359    -0.320472     -0.201534   \n",
       "1378     -0.095122 -0.458194 -0.077422 -0.419708    -0.320472     -0.201534   \n",
       "1379     -0.095122 -0.458194 -0.077422 -0.419708    -0.320472     -0.201534   \n",
       "1380      0.412039  0.058664  0.383103  0.341359    -0.130604     -0.120270   \n",
       "1381      0.412039  0.058664  0.383103  0.341359    -0.130604     -0.120270   \n",
       "1382      0.412039  0.058664  0.383103  0.341359    -0.130604     -0.120270   \n",
       "1383      0.412039  0.058664 -0.077422  0.341359    -0.320472      0.251760   \n",
       "1384     -0.095122  0.058664 -0.077422 -0.419708    -0.130604      0.251760   \n",
       "1385      0.412039  0.058664 -0.077422 -0.419708    -0.130604      0.251760   \n",
       "1386      0.412039  0.058664 -0.077422 -0.419708    -0.130604     -0.201534   \n",
       "1387      0.412039  0.058664 -0.077422 -0.419708    -0.130604     -0.201534   \n",
       "1388      0.412039  0.058664 -0.077422 -0.419708    -0.320472     -0.201534   \n",
       "1389      0.412039  0.058664 -0.077422 -0.419708    -0.320472     -0.201534   \n",
       "1390      0.000000  0.000000  0.000000  0.000000     0.000000      0.000000   \n",
       "\n",
       "      label  \n",
       "0         0  \n",
       "1         0  \n",
       "2         0  \n",
       "3         0  \n",
       "4         1  \n",
       "5         1  \n",
       "6         0  \n",
       "7         0  \n",
       "8         0  \n",
       "9         0  \n",
       "10        1  \n",
       "11        0  \n",
       "12        0  \n",
       "13        0  \n",
       "14        1  \n",
       "15        0  \n",
       "16        0  \n",
       "17        0  \n",
       "18        0  \n",
       "19        0  \n",
       "20        0  \n",
       "21        0  \n",
       "22        0  \n",
       "23        0  \n",
       "24        0  \n",
       "25        0  \n",
       "26        0  \n",
       "27        0  \n",
       "28        0  \n",
       "29        0  \n",
       "...     ...  \n",
       "1361      0  \n",
       "1362      0  \n",
       "1363      0  \n",
       "1364      1  \n",
       "1365      0  \n",
       "1366      0  \n",
       "1367      1  \n",
       "1368      0  \n",
       "1369      0  \n",
       "1370      0  \n",
       "1371      0  \n",
       "1372      0  \n",
       "1373      0  \n",
       "1374      0  \n",
       "1375      0  \n",
       "1376      1  \n",
       "1377      1  \n",
       "1378      1  \n",
       "1379      1  \n",
       "1380      0  \n",
       "1381      0  \n",
       "1382      1  \n",
       "1383      1  \n",
       "1384      1  \n",
       "1385      1  \n",
       "1386      1  \n",
       "1387      0  \n",
       "1388      0  \n",
       "1389      0  \n",
       "1390      0  \n",
       "\n",
       "[1391 rows x 41 columns]"
      ]
     },
     "execution_count": 9,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "#0填充\n",
    "samples_spss =samples_spss.fillna(0)\n",
    "samples_spss.to_csv('./out1/samples_for_card_fillna0.csv')\n",
    "samples_spss"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style>\n",
       "    .dataframe thead tr:only-child th {\n",
       "        text-align: right;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: left;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>实收资本</th>\n",
       "      <th>注册地址</th>\n",
       "      <th>场地归属</th>\n",
       "      <th>注册时间</th>\n",
       "      <th>下游客户情况</th>\n",
       "      <th>涉诉信息</th>\n",
       "      <th>有无贷款</th>\n",
       "      <th>企业征信</th>\n",
       "      <th>净资产</th>\n",
       "      <th>流动比率</th>\n",
       "      <th>...</th>\n",
       "      <th>交易额均值</th>\n",
       "      <th>交易稳定性</th>\n",
       "      <th>历史_最近连续交易月数</th>\n",
       "      <th>历史_账期合作时间（月）</th>\n",
       "      <th>历史_交易总量</th>\n",
       "      <th>历史_交易额总量</th>\n",
       "      <th>订单时间间隔均值变化</th>\n",
       "      <th>账期订单交易量均值变化</th>\n",
       "      <th>账期订单交易额均值变化</th>\n",
       "      <th>label</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>应收单号</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>YS2016030800082</th>\n",
       "      <td>0.274318</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>0.290983</td>\n",
       "      <td>-0.484329</td>\n",
       "      <td>0.070214</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-1.742430</td>\n",
       "      <td>0.139249</td>\n",
       "      <td>-0.501472</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.029661</td>\n",
       "      <td>-0.027321</td>\n",
       "      <td>-0.012667</td>\n",
       "      <td>-0.006778</td>\n",
       "      <td>-0.017724</td>\n",
       "      <td>-0.012850</td>\n",
       "      <td>0.032428</td>\n",
       "      <td>0.003712</td>\n",
       "      <td>-0.015402</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016030400009</th>\n",
       "      <td>-0.324096</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>-0.164433</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>-0.478549</td>\n",
       "      <td>-0.027717</td>\n",
       "      <td>-0.546015</td>\n",
       "      <td>-0.501472</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.393759</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.320472</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>-0.132992</td>\n",
       "      <td>-0.286177</td>\n",
       "      <td>0.032428</td>\n",
       "      <td>0.003712</td>\n",
       "      <td>-0.015402</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016030400024</th>\n",
       "      <td>0.274318</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>0.290983</td>\n",
       "      <td>1.757263</td>\n",
       "      <td>1.329492</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>0.139249</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.320472</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>-0.132992</td>\n",
       "      <td>-0.286177</td>\n",
       "      <td>0.094295</td>\n",
       "      <td>-0.123942</td>\n",
       "      <td>0.162763</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016030700026</th>\n",
       "      <td>-0.324096</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>-0.249272</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>-0.478549</td>\n",
       "      <td>-0.027717</td>\n",
       "      <td>-0.546015</td>\n",
       "      <td>-0.798740</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.393759</td>\n",
       "      <td>0.341359</td>\n",
       "      <td>0.270350</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>0.350617</td>\n",
       "      <td>-0.033619</td>\n",
       "      <td>0.094295</td>\n",
       "      <td>-0.123942</td>\n",
       "      <td>0.162763</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016030700041</th>\n",
       "      <td>0.274318</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>0.290983</td>\n",
       "      <td>1.757263</td>\n",
       "      <td>1.329492</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>0.139249</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.320472</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>-0.132992</td>\n",
       "      <td>-0.286177</td>\n",
       "      <td>0.094295</td>\n",
       "      <td>-0.123942</td>\n",
       "      <td>0.162763</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016030800064</th>\n",
       "      <td>-0.052911</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>0.290983</td>\n",
       "      <td>-0.101888</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>-0.033881</td>\n",
       "      <td>-0.027717</td>\n",
       "      <td>0.139249</td>\n",
       "      <td>-0.798740</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.320472</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>-0.132992</td>\n",
       "      <td>-0.286177</td>\n",
       "      <td>0.032428</td>\n",
       "      <td>0.003712</td>\n",
       "      <td>-0.015402</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016030800101</th>\n",
       "      <td>-0.324096</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>-0.164433</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>-0.546015</td>\n",
       "      <td>-0.501472</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>-0.132992</td>\n",
       "      <td>-0.286177</td>\n",
       "      <td>0.094295</td>\n",
       "      <td>0.003712</td>\n",
       "      <td>-0.015402</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016030700034</th>\n",
       "      <td>-0.324096</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>-0.249272</td>\n",
       "      <td>-0.484329</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>-0.478549</td>\n",
       "      <td>-0.027717</td>\n",
       "      <td>-0.546015</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.393759</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>-0.132992</td>\n",
       "      <td>-0.286177</td>\n",
       "      <td>0.094295</td>\n",
       "      <td>0.003712</td>\n",
       "      <td>-0.015402</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016031100279</th>\n",
       "      <td>0.274318</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>-0.164433</td>\n",
       "      <td>-0.484329</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>0.139249</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>0.383103</td>\n",
       "      <td>0.341359</td>\n",
       "      <td>-0.320472</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>-0.258285</td>\n",
       "      <td>-0.033619</td>\n",
       "      <td>0.094295</td>\n",
       "      <td>-0.123942</td>\n",
       "      <td>0.162763</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016030900193</th>\n",
       "      <td>0.274318</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>-0.164433</td>\n",
       "      <td>-0.484329</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>0.139249</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>0.383103</td>\n",
       "      <td>0.341359</td>\n",
       "      <td>-0.320472</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>-0.258285</td>\n",
       "      <td>-0.033619</td>\n",
       "      <td>0.094295</td>\n",
       "      <td>-0.123942</td>\n",
       "      <td>0.162763</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016031400351</th>\n",
       "      <td>-0.324096</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>-0.249272</td>\n",
       "      <td>-0.484329</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>-0.478549</td>\n",
       "      <td>-0.027717</td>\n",
       "      <td>-0.546015</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.393759</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.320472</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>-0.132992</td>\n",
       "      <td>-0.286177</td>\n",
       "      <td>0.094295</td>\n",
       "      <td>-0.123942</td>\n",
       "      <td>0.162763</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016031400429</th>\n",
       "      <td>0.274318</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>0.290983</td>\n",
       "      <td>-0.484329</td>\n",
       "      <td>0.070214</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-1.742430</td>\n",
       "      <td>0.139249</td>\n",
       "      <td>-0.501472</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>0.341359</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>-0.132992</td>\n",
       "      <td>-0.286177</td>\n",
       "      <td>0.094295</td>\n",
       "      <td>-0.123942</td>\n",
       "      <td>0.162763</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016031100277</th>\n",
       "      <td>0.274318</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>-0.164433</td>\n",
       "      <td>-0.484329</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>0.139249</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>0.383103</td>\n",
       "      <td>0.341359</td>\n",
       "      <td>-0.320472</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>-0.258285</td>\n",
       "      <td>-0.033619</td>\n",
       "      <td>0.094295</td>\n",
       "      <td>-0.123942</td>\n",
       "      <td>0.162763</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016031000221</th>\n",
       "      <td>-0.324096</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>-0.164433</td>\n",
       "      <td>-0.101888</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>-0.478549</td>\n",
       "      <td>-0.027717</td>\n",
       "      <td>-0.546015</td>\n",
       "      <td>-0.501472</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>-0.132992</td>\n",
       "      <td>-0.286177</td>\n",
       "      <td>0.094295</td>\n",
       "      <td>0.003712</td>\n",
       "      <td>-0.015402</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016031500501</th>\n",
       "      <td>-0.324096</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>0.290983</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>1.223350</td>\n",
       "      <td>0.213717</td>\n",
       "      <td>-0.798740</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.320472</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>-0.132992</td>\n",
       "      <td>-0.286177</td>\n",
       "      <td>0.032428</td>\n",
       "      <td>0.003712</td>\n",
       "      <td>-0.015402</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016031700803</th>\n",
       "      <td>0.274318</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>-0.164433</td>\n",
       "      <td>-0.484329</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>0.139249</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>0.383103</td>\n",
       "      <td>0.341359</td>\n",
       "      <td>-0.320472</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>-0.258285</td>\n",
       "      <td>-0.033619</td>\n",
       "      <td>0.094295</td>\n",
       "      <td>-0.123942</td>\n",
       "      <td>0.162763</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016031400348</th>\n",
       "      <td>-0.324096</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>-0.249272</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>-0.478549</td>\n",
       "      <td>-0.027717</td>\n",
       "      <td>-0.546015</td>\n",
       "      <td>-0.798740</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.393759</td>\n",
       "      <td>0.341359</td>\n",
       "      <td>0.270350</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>0.350617</td>\n",
       "      <td>-0.033619</td>\n",
       "      <td>0.128785</td>\n",
       "      <td>-0.123942</td>\n",
       "      <td>0.162763</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016032101234</th>\n",
       "      <td>0.274318</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>-0.249272</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>0.070214</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>0.361412</td>\n",
       "      <td>0.213717</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>0.383103</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.320472</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>-0.132992</td>\n",
       "      <td>-0.286177</td>\n",
       "      <td>0.128785</td>\n",
       "      <td>-0.123942</td>\n",
       "      <td>0.162763</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016032101250</th>\n",
       "      <td>0.274318</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>-0.249272</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>0.070214</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>0.361412</td>\n",
       "      <td>0.213717</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>0.383103</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.320472</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>-0.132992</td>\n",
       "      <td>-0.286177</td>\n",
       "      <td>0.128785</td>\n",
       "      <td>-0.123942</td>\n",
       "      <td>0.162763</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016031801022</th>\n",
       "      <td>0.274318</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>-0.164433</td>\n",
       "      <td>-0.484329</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>0.139249</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>0.383103</td>\n",
       "      <td>0.341359</td>\n",
       "      <td>-0.320472</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>-0.258285</td>\n",
       "      <td>-0.033619</td>\n",
       "      <td>0.094295</td>\n",
       "      <td>-0.123942</td>\n",
       "      <td>0.162763</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016031801024</th>\n",
       "      <td>0.274318</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>-0.164433</td>\n",
       "      <td>-0.484329</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>0.139249</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>0.383103</td>\n",
       "      <td>0.341359</td>\n",
       "      <td>-0.320472</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>-0.258285</td>\n",
       "      <td>-0.033619</td>\n",
       "      <td>0.094295</td>\n",
       "      <td>-0.123942</td>\n",
       "      <td>0.162763</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016031500502</th>\n",
       "      <td>-0.324096</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>0.290983</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>1.223350</td>\n",
       "      <td>0.213717</td>\n",
       "      <td>-0.798740</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.320472</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>-0.132992</td>\n",
       "      <td>-0.286177</td>\n",
       "      <td>0.032428</td>\n",
       "      <td>0.003712</td>\n",
       "      <td>-0.015402</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016032101237</th>\n",
       "      <td>0.274318</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>-0.249272</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>0.070214</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>0.361412</td>\n",
       "      <td>0.213717</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>0.383103</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.320472</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>-0.132992</td>\n",
       "      <td>-0.286177</td>\n",
       "      <td>0.128785</td>\n",
       "      <td>-0.123942</td>\n",
       "      <td>0.162763</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016031600629</th>\n",
       "      <td>-0.052911</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>-0.164433</td>\n",
       "      <td>-0.484329</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>0.213717</td>\n",
       "      <td>-0.501472</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.029661</td>\n",
       "      <td>-0.027321</td>\n",
       "      <td>-0.012667</td>\n",
       "      <td>-0.006778</td>\n",
       "      <td>-0.017724</td>\n",
       "      <td>-0.012850</td>\n",
       "      <td>0.032428</td>\n",
       "      <td>0.003712</td>\n",
       "      <td>-0.015402</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016031600568</th>\n",
       "      <td>-0.324096</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>-0.249272</td>\n",
       "      <td>-0.484329</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>-0.478549</td>\n",
       "      <td>-0.027717</td>\n",
       "      <td>-0.546015</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.393759</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.320472</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>-0.132992</td>\n",
       "      <td>-0.286177</td>\n",
       "      <td>0.094295</td>\n",
       "      <td>-0.123942</td>\n",
       "      <td>0.162763</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016032101238</th>\n",
       "      <td>0.274318</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>-0.249272</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>0.070214</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>0.361412</td>\n",
       "      <td>0.213717</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>0.383103</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.320472</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>-0.132992</td>\n",
       "      <td>-0.286177</td>\n",
       "      <td>0.128785</td>\n",
       "      <td>-0.123942</td>\n",
       "      <td>0.162763</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016032201303</th>\n",
       "      <td>-0.052911</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>0.290983</td>\n",
       "      <td>1.757263</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>1.223350</td>\n",
       "      <td>0.213717</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>0.383103</td>\n",
       "      <td>-0.002052</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>-0.258285</td>\n",
       "      <td>-0.286177</td>\n",
       "      <td>0.094295</td>\n",
       "      <td>-0.123942</td>\n",
       "      <td>0.162763</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016031600551</th>\n",
       "      <td>-0.052911</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>0.290983</td>\n",
       "      <td>1.757263</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>1.223350</td>\n",
       "      <td>0.213717</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>0.383103</td>\n",
       "      <td>-0.002052</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>-0.258285</td>\n",
       "      <td>-0.286177</td>\n",
       "      <td>0.094295</td>\n",
       "      <td>-0.123942</td>\n",
       "      <td>0.162763</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016032201297</th>\n",
       "      <td>0.274318</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>0.290983</td>\n",
       "      <td>-0.484329</td>\n",
       "      <td>0.070214</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-1.742430</td>\n",
       "      <td>0.139249</td>\n",
       "      <td>-0.501472</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>-0.132992</td>\n",
       "      <td>-0.286177</td>\n",
       "      <td>0.094295</td>\n",
       "      <td>-0.123942</td>\n",
       "      <td>0.162763</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS2016032802025</th>\n",
       "      <td>-0.324096</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>-0.164433</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>0.070214</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>-0.546015</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>0.383103</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.320472</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>-0.132992</td>\n",
       "      <td>-0.286177</td>\n",
       "      <td>0.032428</td>\n",
       "      <td>0.003712</td>\n",
       "      <td>-0.015402</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170626157155</th>\n",
       "      <td>-0.324096</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>-0.164433</td>\n",
       "      <td>-0.484329</td>\n",
       "      <td>-1.427349</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>-0.546015</td>\n",
       "      <td>-0.501472</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>0.251760</td>\n",
       "      <td>-0.132992</td>\n",
       "      <td>-0.286177</td>\n",
       "      <td>0.094295</td>\n",
       "      <td>-0.123942</td>\n",
       "      <td>0.162763</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170626157146</th>\n",
       "      <td>0.274318</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>-0.164433</td>\n",
       "      <td>-0.484329</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>0.139249</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>0.383103</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>-0.120270</td>\n",
       "      <td>0.350617</td>\n",
       "      <td>0.293860</td>\n",
       "      <td>-0.168394</td>\n",
       "      <td>-0.123942</td>\n",
       "      <td>-0.488474</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170627157220</th>\n",
       "      <td>-0.324096</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>-0.164433</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>-0.546015</td>\n",
       "      <td>-0.501472</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.002052</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>-0.120270</td>\n",
       "      <td>0.350617</td>\n",
       "      <td>0.293860</td>\n",
       "      <td>0.128785</td>\n",
       "      <td>0.304171</td>\n",
       "      <td>0.228745</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170629157318</th>\n",
       "      <td>-0.054173</td>\n",
       "      <td>-0.069301</td>\n",
       "      <td>-0.077296</td>\n",
       "      <td>-0.052981</td>\n",
       "      <td>-0.101888</td>\n",
       "      <td>-0.057146</td>\n",
       "      <td>-0.033881</td>\n",
       "      <td>-0.027717</td>\n",
       "      <td>-0.075068</td>\n",
       "      <td>-0.208327</td>\n",
       "      <td>...</td>\n",
       "      <td>0.383103</td>\n",
       "      <td>0.341359</td>\n",
       "      <td>-0.320472</td>\n",
       "      <td>-0.120270</td>\n",
       "      <td>-0.132992</td>\n",
       "      <td>-0.033619</td>\n",
       "      <td>-0.168394</td>\n",
       "      <td>-0.123942</td>\n",
       "      <td>-0.488474</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170629157328</th>\n",
       "      <td>-0.324096</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>-0.164433</td>\n",
       "      <td>-0.484329</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>-0.546015</td>\n",
       "      <td>-0.501472</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>-0.120270</td>\n",
       "      <td>-0.258285</td>\n",
       "      <td>0.293860</td>\n",
       "      <td>-0.168394</td>\n",
       "      <td>-0.123942</td>\n",
       "      <td>-0.488474</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170629157327</th>\n",
       "      <td>-0.324096</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>-0.164433</td>\n",
       "      <td>-0.484329</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>-0.546015</td>\n",
       "      <td>-0.501472</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>-0.120270</td>\n",
       "      <td>-0.258285</td>\n",
       "      <td>0.293860</td>\n",
       "      <td>-0.168394</td>\n",
       "      <td>-0.123942</td>\n",
       "      <td>-0.488474</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170629157279</th>\n",
       "      <td>0.274318</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>-0.164433</td>\n",
       "      <td>-0.484329</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>0.213717</td>\n",
       "      <td>-0.501472</td>\n",
       "      <td>...</td>\n",
       "      <td>0.383103</td>\n",
       "      <td>-0.002052</td>\n",
       "      <td>0.270350</td>\n",
       "      <td>-0.120270</td>\n",
       "      <td>0.350617</td>\n",
       "      <td>0.293860</td>\n",
       "      <td>0.128785</td>\n",
       "      <td>0.304171</td>\n",
       "      <td>0.162763</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170630157335</th>\n",
       "      <td>-0.054173</td>\n",
       "      <td>-0.069301</td>\n",
       "      <td>-0.077296</td>\n",
       "      <td>-0.052981</td>\n",
       "      <td>-0.101888</td>\n",
       "      <td>-0.057146</td>\n",
       "      <td>-0.033881</td>\n",
       "      <td>-0.027717</td>\n",
       "      <td>-0.075068</td>\n",
       "      <td>-0.208327</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.002052</td>\n",
       "      <td>0.270350</td>\n",
       "      <td>-0.120270</td>\n",
       "      <td>-0.258285</td>\n",
       "      <td>-0.033619</td>\n",
       "      <td>0.128785</td>\n",
       "      <td>0.304171</td>\n",
       "      <td>0.228745</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170704157441</th>\n",
       "      <td>0.274318</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>-0.164433</td>\n",
       "      <td>-0.484329</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>0.139249</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>0.383103</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>-0.120270</td>\n",
       "      <td>0.350617</td>\n",
       "      <td>0.293860</td>\n",
       "      <td>-0.168394</td>\n",
       "      <td>-0.123942</td>\n",
       "      <td>-0.488474</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170703157383</th>\n",
       "      <td>-0.052911</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>-0.249272</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>0.213717</td>\n",
       "      <td>-0.798740</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.002052</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>-0.120270</td>\n",
       "      <td>0.350617</td>\n",
       "      <td>0.293860</td>\n",
       "      <td>0.128785</td>\n",
       "      <td>-0.123942</td>\n",
       "      <td>-0.488474</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170703157387</th>\n",
       "      <td>-0.052911</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>0.290983</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>0.213717</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.002052</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>-0.120270</td>\n",
       "      <td>-0.258285</td>\n",
       "      <td>0.293860</td>\n",
       "      <td>-0.168394</td>\n",
       "      <td>-0.123942</td>\n",
       "      <td>-0.488474</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170703157436</th>\n",
       "      <td>-0.324096</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>0.393246</td>\n",
       "      <td>-0.164433</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>-0.546015</td>\n",
       "      <td>-0.501472</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.002052</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>-0.120270</td>\n",
       "      <td>0.350617</td>\n",
       "      <td>0.293860</td>\n",
       "      <td>0.128785</td>\n",
       "      <td>0.304171</td>\n",
       "      <td>0.228745</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170704157476</th>\n",
       "      <td>-0.324096</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>-0.164433</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>0.070214</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>-0.546015</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.393759</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.320472</td>\n",
       "      <td>-0.120270</td>\n",
       "      <td>0.350617</td>\n",
       "      <td>0.293860</td>\n",
       "      <td>-0.168394</td>\n",
       "      <td>0.304171</td>\n",
       "      <td>0.228745</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170705157506</th>\n",
       "      <td>-0.052911</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>-0.164433</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>-0.478549</td>\n",
       "      <td>-0.027717</td>\n",
       "      <td>0.213717</td>\n",
       "      <td>-0.501472</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.393759</td>\n",
       "      <td>0.341359</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>0.251760</td>\n",
       "      <td>-0.132992</td>\n",
       "      <td>-0.286177</td>\n",
       "      <td>0.094295</td>\n",
       "      <td>-0.123942</td>\n",
       "      <td>0.162763</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170710157638</th>\n",
       "      <td>-0.054173</td>\n",
       "      <td>-0.069301</td>\n",
       "      <td>-0.077296</td>\n",
       "      <td>-0.052981</td>\n",
       "      <td>-0.101888</td>\n",
       "      <td>-0.057146</td>\n",
       "      <td>-0.033881</td>\n",
       "      <td>-0.027717</td>\n",
       "      <td>-0.075068</td>\n",
       "      <td>-0.208327</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.002052</td>\n",
       "      <td>0.270350</td>\n",
       "      <td>-0.120270</td>\n",
       "      <td>-0.258285</td>\n",
       "      <td>-0.033619</td>\n",
       "      <td>0.128785</td>\n",
       "      <td>0.304171</td>\n",
       "      <td>0.228745</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170720158084</th>\n",
       "      <td>-0.054173</td>\n",
       "      <td>-0.069301</td>\n",
       "      <td>-0.077296</td>\n",
       "      <td>-0.052981</td>\n",
       "      <td>-0.101888</td>\n",
       "      <td>-0.057146</td>\n",
       "      <td>-0.033881</td>\n",
       "      <td>-0.027717</td>\n",
       "      <td>-0.075068</td>\n",
       "      <td>-0.208327</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.002052</td>\n",
       "      <td>0.270350</td>\n",
       "      <td>-0.120270</td>\n",
       "      <td>-0.258285</td>\n",
       "      <td>-0.033619</td>\n",
       "      <td>0.128785</td>\n",
       "      <td>0.304171</td>\n",
       "      <td>0.228745</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170720158083</th>\n",
       "      <td>-0.054173</td>\n",
       "      <td>-0.069301</td>\n",
       "      <td>-0.077296</td>\n",
       "      <td>-0.052981</td>\n",
       "      <td>-0.101888</td>\n",
       "      <td>-0.057146</td>\n",
       "      <td>-0.033881</td>\n",
       "      <td>-0.027717</td>\n",
       "      <td>-0.075068</td>\n",
       "      <td>-0.208327</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.002052</td>\n",
       "      <td>0.270350</td>\n",
       "      <td>-0.120270</td>\n",
       "      <td>-0.258285</td>\n",
       "      <td>-0.033619</td>\n",
       "      <td>0.128785</td>\n",
       "      <td>0.304171</td>\n",
       "      <td>0.228745</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170707157614</th>\n",
       "      <td>-0.324096</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>-0.164433</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>0.213717</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>-0.201534</td>\n",
       "      <td>-0.258285</td>\n",
       "      <td>-0.033619</td>\n",
       "      <td>0.128785</td>\n",
       "      <td>-0.123942</td>\n",
       "      <td>0.162763</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170710157700</th>\n",
       "      <td>-0.052911</td>\n",
       "      <td>-0.439962</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>-0.249272</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>0.213717</td>\n",
       "      <td>-0.798740</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.002052</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>-0.120270</td>\n",
       "      <td>0.350617</td>\n",
       "      <td>0.293860</td>\n",
       "      <td>0.128785</td>\n",
       "      <td>-0.123942</td>\n",
       "      <td>-0.488474</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170710157653</th>\n",
       "      <td>0.274318</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>0.290983</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>0.070214</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>0.361412</td>\n",
       "      <td>0.139249</td>\n",
       "      <td>-0.208327</td>\n",
       "      <td>...</td>\n",
       "      <td>0.383103</td>\n",
       "      <td>0.341359</td>\n",
       "      <td>0.270350</td>\n",
       "      <td>-0.120270</td>\n",
       "      <td>0.350617</td>\n",
       "      <td>0.293860</td>\n",
       "      <td>-0.168394</td>\n",
       "      <td>0.304171</td>\n",
       "      <td>0.228745</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170710157654</th>\n",
       "      <td>0.274318</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>0.290983</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>0.070214</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>0.361412</td>\n",
       "      <td>0.139249</td>\n",
       "      <td>-0.208327</td>\n",
       "      <td>...</td>\n",
       "      <td>0.383103</td>\n",
       "      <td>0.341359</td>\n",
       "      <td>0.270350</td>\n",
       "      <td>-0.120270</td>\n",
       "      <td>0.350617</td>\n",
       "      <td>0.293860</td>\n",
       "      <td>-0.168394</td>\n",
       "      <td>0.304171</td>\n",
       "      <td>0.228745</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170711157717</th>\n",
       "      <td>-0.052911</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>0.290983</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>0.213717</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.002052</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>-0.120270</td>\n",
       "      <td>-0.258285</td>\n",
       "      <td>0.293860</td>\n",
       "      <td>-0.168394</td>\n",
       "      <td>-0.123942</td>\n",
       "      <td>-0.488474</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170711157738</th>\n",
       "      <td>0.274318</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>0.290983</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>0.070214</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>0.361412</td>\n",
       "      <td>0.139249</td>\n",
       "      <td>-0.208327</td>\n",
       "      <td>...</td>\n",
       "      <td>0.383103</td>\n",
       "      <td>0.341359</td>\n",
       "      <td>0.270350</td>\n",
       "      <td>-0.120270</td>\n",
       "      <td>0.350617</td>\n",
       "      <td>0.293860</td>\n",
       "      <td>-0.168394</td>\n",
       "      <td>0.304171</td>\n",
       "      <td>0.228745</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170711157739</th>\n",
       "      <td>-0.324096</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>-0.164433</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>0.070214</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>-0.546015</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.393759</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.320472</td>\n",
       "      <td>-0.120270</td>\n",
       "      <td>0.350617</td>\n",
       "      <td>0.293860</td>\n",
       "      <td>-0.168394</td>\n",
       "      <td>0.304171</td>\n",
       "      <td>0.228745</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170712157794</th>\n",
       "      <td>0.274318</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>0.290983</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>0.070214</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>0.361412</td>\n",
       "      <td>0.139249</td>\n",
       "      <td>-0.208327</td>\n",
       "      <td>...</td>\n",
       "      <td>0.383103</td>\n",
       "      <td>0.341359</td>\n",
       "      <td>0.270350</td>\n",
       "      <td>-0.120270</td>\n",
       "      <td>0.350617</td>\n",
       "      <td>0.293860</td>\n",
       "      <td>-0.168394</td>\n",
       "      <td>0.304171</td>\n",
       "      <td>0.228745</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170721158094</th>\n",
       "      <td>0.274318</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>0.290983</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>0.070214</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>0.361412</td>\n",
       "      <td>0.139249</td>\n",
       "      <td>-0.208327</td>\n",
       "      <td>...</td>\n",
       "      <td>0.383103</td>\n",
       "      <td>0.341359</td>\n",
       "      <td>0.270350</td>\n",
       "      <td>-0.120270</td>\n",
       "      <td>0.350617</td>\n",
       "      <td>0.293860</td>\n",
       "      <td>-0.168394</td>\n",
       "      <td>0.304171</td>\n",
       "      <td>0.228745</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170717157917</th>\n",
       "      <td>0.274318</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>-0.249272</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>0.070214</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>0.361412</td>\n",
       "      <td>0.213717</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.393759</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.320472</td>\n",
       "      <td>-0.120270</td>\n",
       "      <td>-0.258285</td>\n",
       "      <td>-0.033619</td>\n",
       "      <td>0.032428</td>\n",
       "      <td>0.304171</td>\n",
       "      <td>0.228745</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170717157918</th>\n",
       "      <td>-0.052911</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>0.290983</td>\n",
       "      <td>-0.086596</td>\n",
       "      <td>-0.093581</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>0.213717</td>\n",
       "      <td>0.632134</td>\n",
       "      <td>...</td>\n",
       "      <td>0.383103</td>\n",
       "      <td>-0.002052</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>-0.120270</td>\n",
       "      <td>-0.258285</td>\n",
       "      <td>0.293860</td>\n",
       "      <td>-0.168394</td>\n",
       "      <td>-0.123942</td>\n",
       "      <td>-0.488474</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170724158174</th>\n",
       "      <td>-0.054173</td>\n",
       "      <td>-0.069301</td>\n",
       "      <td>-0.077296</td>\n",
       "      <td>-0.052981</td>\n",
       "      <td>-0.101888</td>\n",
       "      <td>-0.057146</td>\n",
       "      <td>-0.033881</td>\n",
       "      <td>-0.027717</td>\n",
       "      <td>-0.075068</td>\n",
       "      <td>-0.208327</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.077422</td>\n",
       "      <td>-0.002052</td>\n",
       "      <td>0.270350</td>\n",
       "      <td>-0.120270</td>\n",
       "      <td>-0.258285</td>\n",
       "      <td>-0.033619</td>\n",
       "      <td>0.128785</td>\n",
       "      <td>0.304171</td>\n",
       "      <td>0.228745</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>YS20170719158028</th>\n",
       "      <td>-0.324096</td>\n",
       "      <td>0.203259</td>\n",
       "      <td>-0.327458</td>\n",
       "      <td>-0.249272</td>\n",
       "      <td>-0.484329</td>\n",
       "      <td>0.070214</td>\n",
       "      <td>0.079079</td>\n",
       "      <td>-0.226458</td>\n",
       "      <td>-0.546015</td>\n",
       "      <td>-0.501472</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.393759</td>\n",
       "      <td>-0.419708</td>\n",
       "      <td>-0.130604</td>\n",
       "      <td>-0.120270</td>\n",
       "      <td>0.350617</td>\n",
       "      <td>0.293860</td>\n",
       "      <td>0.128785</td>\n",
       "      <td>0.304171</td>\n",
       "      <td>0.228745</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>1391 rows × 46 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                      实收资本      注册地址      场地归属      注册时间    下游客户情况      涉诉信息  \\\n",
       "应收单号                                                                           \n",
       "YS2016030800082   0.274318 -0.439962  0.393246  0.290983 -0.484329  0.070214   \n",
       "YS2016030400009  -0.324096 -0.439962  0.393246 -0.164433 -0.086596 -0.093581   \n",
       "YS2016030400024   0.274318  0.203259  0.393246  0.290983  1.757263  1.329492   \n",
       "YS2016030700026  -0.324096  0.203259 -0.327458 -0.249272 -0.086596 -0.093581   \n",
       "YS2016030700041   0.274318  0.203259  0.393246  0.290983  1.757263  1.329492   \n",
       "YS2016030800064  -0.052911 -0.439962  0.393246  0.290983 -0.101888 -0.093581   \n",
       "YS2016030800101  -0.324096  0.203259  0.393246 -0.164433 -0.086596 -0.093581   \n",
       "YS2016030700034  -0.324096 -0.439962  0.393246 -0.249272 -0.484329 -0.093581   \n",
       "YS2016031100279   0.274318  0.203259  0.393246 -0.164433 -0.484329 -0.093581   \n",
       "YS2016030900193   0.274318  0.203259  0.393246 -0.164433 -0.484329 -0.093581   \n",
       "YS2016031400351  -0.324096 -0.439962  0.393246 -0.249272 -0.484329 -0.093581   \n",
       "YS2016031400429   0.274318 -0.439962  0.393246  0.290983 -0.484329  0.070214   \n",
       "YS2016031100277   0.274318  0.203259  0.393246 -0.164433 -0.484329 -0.093581   \n",
       "YS2016031000221  -0.324096 -0.439962 -0.327458 -0.164433 -0.101888 -0.093581   \n",
       "YS2016031500501  -0.324096 -0.439962 -0.327458  0.290983 -0.086596 -0.093581   \n",
       "YS2016031700803   0.274318  0.203259  0.393246 -0.164433 -0.484329 -0.093581   \n",
       "YS2016031400348  -0.324096  0.203259 -0.327458 -0.249272 -0.086596 -0.093581   \n",
       "YS2016032101234   0.274318  0.203259 -0.327458 -0.249272 -0.086596  0.070214   \n",
       "YS2016032101250   0.274318  0.203259 -0.327458 -0.249272 -0.086596  0.070214   \n",
       "YS2016031801022   0.274318  0.203259  0.393246 -0.164433 -0.484329 -0.093581   \n",
       "YS2016031801024   0.274318  0.203259  0.393246 -0.164433 -0.484329 -0.093581   \n",
       "YS2016031500502  -0.324096 -0.439962 -0.327458  0.290983 -0.086596 -0.093581   \n",
       "YS2016032101237   0.274318  0.203259 -0.327458 -0.249272 -0.086596  0.070214   \n",
       "YS2016031600629  -0.052911  0.203259 -0.327458 -0.164433 -0.484329 -0.093581   \n",
       "YS2016031600568  -0.324096 -0.439962  0.393246 -0.249272 -0.484329 -0.093581   \n",
       "YS2016032101238   0.274318  0.203259 -0.327458 -0.249272 -0.086596  0.070214   \n",
       "YS2016032201303  -0.052911  0.203259  0.393246  0.290983  1.757263 -0.093581   \n",
       "YS2016031600551  -0.052911  0.203259  0.393246  0.290983  1.757263 -0.093581   \n",
       "YS2016032201297   0.274318 -0.439962  0.393246  0.290983 -0.484329  0.070214   \n",
       "YS2016032802025  -0.324096  0.203259 -0.327458 -0.164433 -0.086596  0.070214   \n",
       "...                    ...       ...       ...       ...       ...       ...   \n",
       "YS20170626157155 -0.324096 -0.439962 -0.327458 -0.164433 -0.484329 -1.427349   \n",
       "YS20170626157146  0.274318  0.203259  0.393246 -0.164433 -0.484329 -0.093581   \n",
       "YS20170627157220 -0.324096  0.203259  0.393246 -0.164433 -0.086596 -0.093581   \n",
       "YS20170629157318 -0.054173 -0.069301 -0.077296 -0.052981 -0.101888 -0.057146   \n",
       "YS20170629157328 -0.324096 -0.439962 -0.327458 -0.164433 -0.484329 -0.093581   \n",
       "YS20170629157327 -0.324096 -0.439962 -0.327458 -0.164433 -0.484329 -0.093581   \n",
       "YS20170629157279  0.274318 -0.439962 -0.327458 -0.164433 -0.484329 -0.093581   \n",
       "YS20170630157335 -0.054173 -0.069301 -0.077296 -0.052981 -0.101888 -0.057146   \n",
       "YS20170704157441  0.274318  0.203259  0.393246 -0.164433 -0.484329 -0.093581   \n",
       "YS20170703157383 -0.052911 -0.439962 -0.327458 -0.249272 -0.086596 -0.093581   \n",
       "YS20170703157387 -0.052911  0.203259 -0.327458  0.290983 -0.086596 -0.093581   \n",
       "YS20170703157436 -0.324096  0.203259  0.393246 -0.164433 -0.086596 -0.093581   \n",
       "YS20170704157476 -0.324096  0.203259 -0.327458 -0.164433 -0.086596  0.070214   \n",
       "YS20170705157506 -0.052911  0.203259 -0.327458 -0.164433 -0.086596 -0.093581   \n",
       "YS20170710157638 -0.054173 -0.069301 -0.077296 -0.052981 -0.101888 -0.057146   \n",
       "YS20170720158084 -0.054173 -0.069301 -0.077296 -0.052981 -0.101888 -0.057146   \n",
       "YS20170720158083 -0.054173 -0.069301 -0.077296 -0.052981 -0.101888 -0.057146   \n",
       "YS20170707157614 -0.324096 -0.439962 -0.327458 -0.164433 -0.086596 -0.093581   \n",
       "YS20170710157700 -0.052911 -0.439962 -0.327458 -0.249272 -0.086596 -0.093581   \n",
       "YS20170710157653  0.274318  0.203259 -0.327458  0.290983 -0.086596  0.070214   \n",
       "YS20170710157654  0.274318  0.203259 -0.327458  0.290983 -0.086596  0.070214   \n",
       "YS20170711157717 -0.052911  0.203259 -0.327458  0.290983 -0.086596 -0.093581   \n",
       "YS20170711157738  0.274318  0.203259 -0.327458  0.290983 -0.086596  0.070214   \n",
       "YS20170711157739 -0.324096  0.203259 -0.327458 -0.164433 -0.086596  0.070214   \n",
       "YS20170712157794  0.274318  0.203259 -0.327458  0.290983 -0.086596  0.070214   \n",
       "YS20170721158094  0.274318  0.203259 -0.327458  0.290983 -0.086596  0.070214   \n",
       "YS20170717157917  0.274318  0.203259 -0.327458 -0.249272 -0.086596  0.070214   \n",
       "YS20170717157918 -0.052911  0.203259 -0.327458  0.290983 -0.086596 -0.093581   \n",
       "YS20170724158174 -0.054173 -0.069301 -0.077296 -0.052981 -0.101888 -0.057146   \n",
       "YS20170719158028 -0.324096  0.203259 -0.327458 -0.249272 -0.484329  0.070214   \n",
       "\n",
       "                      有无贷款      企业征信       净资产      流动比率  ...       交易额均值  \\\n",
       "应收单号                                                      ...               \n",
       "YS2016030800082   0.079079 -1.742430  0.139249 -0.501472  ...   -0.029661   \n",
       "YS2016030400009  -0.478549 -0.027717 -0.546015 -0.501472  ...   -0.393759   \n",
       "YS2016030400024   0.079079 -0.226458  0.139249  0.632134  ...   -0.077422   \n",
       "YS2016030700026  -0.478549 -0.027717 -0.546015 -0.798740  ...   -0.393759   \n",
       "YS2016030700041   0.079079 -0.226458  0.139249  0.632134  ...   -0.077422   \n",
       "YS2016030800064  -0.033881 -0.027717  0.139249 -0.798740  ...   -0.077422   \n",
       "YS2016030800101   0.079079 -0.226458 -0.546015 -0.501472  ...   -0.077422   \n",
       "YS2016030700034  -0.478549 -0.027717 -0.546015  0.632134  ...   -0.393759   \n",
       "YS2016031100279   0.079079 -0.226458  0.139249  0.632134  ...    0.383103   \n",
       "YS2016030900193   0.079079 -0.226458  0.139249  0.632134  ...    0.383103   \n",
       "YS2016031400351  -0.478549 -0.027717 -0.546015  0.632134  ...   -0.393759   \n",
       "YS2016031400429   0.079079 -1.742430  0.139249 -0.501472  ...   -0.077422   \n",
       "YS2016031100277   0.079079 -0.226458  0.139249  0.632134  ...    0.383103   \n",
       "YS2016031000221  -0.478549 -0.027717 -0.546015 -0.501472  ...   -0.077422   \n",
       "YS2016031500501   0.079079  1.223350  0.213717 -0.798740  ...   -0.077422   \n",
       "YS2016031700803   0.079079 -0.226458  0.139249  0.632134  ...    0.383103   \n",
       "YS2016031400348  -0.478549 -0.027717 -0.546015 -0.798740  ...   -0.393759   \n",
       "YS2016032101234   0.079079  0.361412  0.213717  0.632134  ...    0.383103   \n",
       "YS2016032101250   0.079079  0.361412  0.213717  0.632134  ...    0.383103   \n",
       "YS2016031801022   0.079079 -0.226458  0.139249  0.632134  ...    0.383103   \n",
       "YS2016031801024   0.079079 -0.226458  0.139249  0.632134  ...    0.383103   \n",
       "YS2016031500502   0.079079  1.223350  0.213717 -0.798740  ...   -0.077422   \n",
       "YS2016032101237   0.079079  0.361412  0.213717  0.632134  ...    0.383103   \n",
       "YS2016031600629   0.079079 -0.226458  0.213717 -0.501472  ...   -0.029661   \n",
       "YS2016031600568  -0.478549 -0.027717 -0.546015  0.632134  ...   -0.393759   \n",
       "YS2016032101238   0.079079  0.361412  0.213717  0.632134  ...    0.383103   \n",
       "YS2016032201303   0.079079  1.223350  0.213717  0.632134  ...    0.383103   \n",
       "YS2016031600551   0.079079  1.223350  0.213717  0.632134  ...    0.383103   \n",
       "YS2016032201297   0.079079 -1.742430  0.139249 -0.501472  ...   -0.077422   \n",
       "YS2016032802025   0.079079 -0.226458 -0.546015  0.632134  ...    0.383103   \n",
       "...                    ...       ...       ...       ...  ...         ...   \n",
       "YS20170626157155  0.079079 -0.226458 -0.546015 -0.501472  ...   -0.077422   \n",
       "YS20170626157146  0.079079 -0.226458  0.139249  0.632134  ...    0.383103   \n",
       "YS20170627157220  0.079079 -0.226458 -0.546015 -0.501472  ...   -0.077422   \n",
       "YS20170629157318 -0.033881 -0.027717 -0.075068 -0.208327  ...    0.383103   \n",
       "YS20170629157328  0.079079 -0.226458 -0.546015 -0.501472  ...   -0.077422   \n",
       "YS20170629157327  0.079079 -0.226458 -0.546015 -0.501472  ...   -0.077422   \n",
       "YS20170629157279  0.079079 -0.226458  0.213717 -0.501472  ...    0.383103   \n",
       "YS20170630157335 -0.033881 -0.027717 -0.075068 -0.208327  ...   -0.077422   \n",
       "YS20170704157441  0.079079 -0.226458  0.139249  0.632134  ...    0.383103   \n",
       "YS20170703157383  0.079079 -0.226458  0.213717 -0.798740  ...   -0.077422   \n",
       "YS20170703157387  0.079079 -0.226458  0.213717  0.632134  ...   -0.077422   \n",
       "YS20170703157436  0.079079 -0.226458 -0.546015 -0.501472  ...   -0.077422   \n",
       "YS20170704157476  0.079079 -0.226458 -0.546015  0.632134  ...   -0.393759   \n",
       "YS20170705157506 -0.478549 -0.027717  0.213717 -0.501472  ...   -0.393759   \n",
       "YS20170710157638 -0.033881 -0.027717 -0.075068 -0.208327  ...   -0.077422   \n",
       "YS20170720158084 -0.033881 -0.027717 -0.075068 -0.208327  ...   -0.077422   \n",
       "YS20170720158083 -0.033881 -0.027717 -0.075068 -0.208327  ...   -0.077422   \n",
       "YS20170707157614  0.079079 -0.226458  0.213717  0.632134  ...   -0.077422   \n",
       "YS20170710157700  0.079079 -0.226458  0.213717 -0.798740  ...   -0.077422   \n",
       "YS20170710157653  0.079079  0.361412  0.139249 -0.208327  ...    0.383103   \n",
       "YS20170710157654  0.079079  0.361412  0.139249 -0.208327  ...    0.383103   \n",
       "YS20170711157717  0.079079 -0.226458  0.213717  0.632134  ...   -0.077422   \n",
       "YS20170711157738  0.079079  0.361412  0.139249 -0.208327  ...    0.383103   \n",
       "YS20170711157739  0.079079 -0.226458 -0.546015  0.632134  ...   -0.393759   \n",
       "YS20170712157794  0.079079  0.361412  0.139249 -0.208327  ...    0.383103   \n",
       "YS20170721158094  0.079079  0.361412  0.139249 -0.208327  ...    0.383103   \n",
       "YS20170717157917  0.079079  0.361412  0.213717  0.632134  ...   -0.393759   \n",
       "YS20170717157918  0.079079 -0.226458  0.213717  0.632134  ...    0.383103   \n",
       "YS20170724158174 -0.033881 -0.027717 -0.075068 -0.208327  ...   -0.077422   \n",
       "YS20170719158028  0.079079 -0.226458 -0.546015 -0.501472  ...   -0.393759   \n",
       "\n",
       "                     交易稳定性  历史_最近连续交易月数  历史_账期合作时间（月）   历史_交易总量  历史_交易额总量  \\\n",
       "应收单号                                                                        \n",
       "YS2016030800082  -0.027321    -0.012667     -0.006778 -0.017724 -0.012850   \n",
       "YS2016030400009  -0.419708    -0.320472     -0.201534 -0.132992 -0.286177   \n",
       "YS2016030400024  -0.419708    -0.320472     -0.201534 -0.132992 -0.286177   \n",
       "YS2016030700026   0.341359     0.270350     -0.201534  0.350617 -0.033619   \n",
       "YS2016030700041  -0.419708    -0.320472     -0.201534 -0.132992 -0.286177   \n",
       "YS2016030800064  -0.419708    -0.320472     -0.201534 -0.132992 -0.286177   \n",
       "YS2016030800101  -0.419708    -0.130604     -0.201534 -0.132992 -0.286177   \n",
       "YS2016030700034  -0.419708    -0.130604     -0.201534 -0.132992 -0.286177   \n",
       "YS2016031100279   0.341359    -0.320472     -0.201534 -0.258285 -0.033619   \n",
       "YS2016030900193   0.341359    -0.320472     -0.201534 -0.258285 -0.033619   \n",
       "YS2016031400351  -0.419708    -0.320472     -0.201534 -0.132992 -0.286177   \n",
       "YS2016031400429   0.341359    -0.130604     -0.201534 -0.132992 -0.286177   \n",
       "YS2016031100277   0.341359    -0.320472     -0.201534 -0.258285 -0.033619   \n",
       "YS2016031000221  -0.419708    -0.130604     -0.201534 -0.132992 -0.286177   \n",
       "YS2016031500501  -0.419708    -0.320472     -0.201534 -0.132992 -0.286177   \n",
       "YS2016031700803   0.341359    -0.320472     -0.201534 -0.258285 -0.033619   \n",
       "YS2016031400348   0.341359     0.270350     -0.201534  0.350617 -0.033619   \n",
       "YS2016032101234  -0.419708    -0.320472     -0.201534 -0.132992 -0.286177   \n",
       "YS2016032101250  -0.419708    -0.320472     -0.201534 -0.132992 -0.286177   \n",
       "YS2016031801022   0.341359    -0.320472     -0.201534 -0.258285 -0.033619   \n",
       "YS2016031801024   0.341359    -0.320472     -0.201534 -0.258285 -0.033619   \n",
       "YS2016031500502  -0.419708    -0.320472     -0.201534 -0.132992 -0.286177   \n",
       "YS2016032101237  -0.419708    -0.320472     -0.201534 -0.132992 -0.286177   \n",
       "YS2016031600629  -0.027321    -0.012667     -0.006778 -0.017724 -0.012850   \n",
       "YS2016031600568  -0.419708    -0.320472     -0.201534 -0.132992 -0.286177   \n",
       "YS2016032101238  -0.419708    -0.320472     -0.201534 -0.132992 -0.286177   \n",
       "YS2016032201303  -0.002052    -0.130604     -0.201534 -0.258285 -0.286177   \n",
       "YS2016031600551  -0.002052    -0.130604     -0.201534 -0.258285 -0.286177   \n",
       "YS2016032201297  -0.419708    -0.130604     -0.201534 -0.132992 -0.286177   \n",
       "YS2016032802025  -0.419708    -0.320472     -0.201534 -0.132992 -0.286177   \n",
       "...                    ...          ...           ...       ...       ...   \n",
       "YS20170626157155 -0.419708    -0.130604      0.251760 -0.132992 -0.286177   \n",
       "YS20170626157146 -0.419708    -0.130604     -0.120270  0.350617  0.293860   \n",
       "YS20170627157220 -0.002052    -0.130604     -0.120270  0.350617  0.293860   \n",
       "YS20170629157318  0.341359    -0.320472     -0.120270 -0.132992 -0.033619   \n",
       "YS20170629157328 -0.419708    -0.130604     -0.120270 -0.258285  0.293860   \n",
       "YS20170629157327 -0.419708    -0.130604     -0.120270 -0.258285  0.293860   \n",
       "YS20170629157279 -0.002052     0.270350     -0.120270  0.350617  0.293860   \n",
       "YS20170630157335 -0.002052     0.270350     -0.120270 -0.258285 -0.033619   \n",
       "YS20170704157441 -0.419708    -0.130604     -0.120270  0.350617  0.293860   \n",
       "YS20170703157383 -0.002052    -0.130604     -0.120270  0.350617  0.293860   \n",
       "YS20170703157387 -0.002052    -0.130604     -0.120270 -0.258285  0.293860   \n",
       "YS20170703157436 -0.002052    -0.130604     -0.120270  0.350617  0.293860   \n",
       "YS20170704157476 -0.419708    -0.320472     -0.120270  0.350617  0.293860   \n",
       "YS20170705157506  0.341359    -0.130604      0.251760 -0.132992 -0.286177   \n",
       "YS20170710157638 -0.002052     0.270350     -0.120270 -0.258285 -0.033619   \n",
       "YS20170720158084 -0.002052     0.270350     -0.120270 -0.258285 -0.033619   \n",
       "YS20170720158083 -0.002052     0.270350     -0.120270 -0.258285 -0.033619   \n",
       "YS20170707157614 -0.419708    -0.130604     -0.201534 -0.258285 -0.033619   \n",
       "YS20170710157700 -0.002052    -0.130604     -0.120270  0.350617  0.293860   \n",
       "YS20170710157653  0.341359     0.270350     -0.120270  0.350617  0.293860   \n",
       "YS20170710157654  0.341359     0.270350     -0.120270  0.350617  0.293860   \n",
       "YS20170711157717 -0.002052    -0.130604     -0.120270 -0.258285  0.293860   \n",
       "YS20170711157738  0.341359     0.270350     -0.120270  0.350617  0.293860   \n",
       "YS20170711157739 -0.419708    -0.320472     -0.120270  0.350617  0.293860   \n",
       "YS20170712157794  0.341359     0.270350     -0.120270  0.350617  0.293860   \n",
       "YS20170721158094  0.341359     0.270350     -0.120270  0.350617  0.293860   \n",
       "YS20170717157917 -0.419708    -0.320472     -0.120270 -0.258285 -0.033619   \n",
       "YS20170717157918 -0.002052    -0.130604     -0.120270 -0.258285  0.293860   \n",
       "YS20170724158174 -0.002052     0.270350     -0.120270 -0.258285 -0.033619   \n",
       "YS20170719158028 -0.419708    -0.130604     -0.120270  0.350617  0.293860   \n",
       "\n",
       "                  订单时间间隔均值变化  账期订单交易量均值变化  账期订单交易额均值变化  label  \n",
       "应收单号                                                           \n",
       "YS2016030800082     0.032428     0.003712    -0.015402      1  \n",
       "YS2016030400009     0.032428     0.003712    -0.015402      0  \n",
       "YS2016030400024     0.094295    -0.123942     0.162763      0  \n",
       "YS2016030700026     0.094295    -0.123942     0.162763      0  \n",
       "YS2016030700041     0.094295    -0.123942     0.162763      0  \n",
       "YS2016030800064     0.032428     0.003712    -0.015402      0  \n",
       "YS2016030800101     0.094295     0.003712    -0.015402      0  \n",
       "YS2016030700034     0.094295     0.003712    -0.015402      0  \n",
       "YS2016031100279     0.094295    -0.123942     0.162763      1  \n",
       "YS2016030900193     0.094295    -0.123942     0.162763      1  \n",
       "YS2016031400351     0.094295    -0.123942     0.162763      0  \n",
       "YS2016031400429     0.094295    -0.123942     0.162763      0  \n",
       "YS2016031100277     0.094295    -0.123942     0.162763      0  \n",
       "YS2016031000221     0.094295     0.003712    -0.015402      0  \n",
       "YS2016031500501     0.032428     0.003712    -0.015402      0  \n",
       "YS2016031700803     0.094295    -0.123942     0.162763      0  \n",
       "YS2016031400348     0.128785    -0.123942     0.162763      0  \n",
       "YS2016032101234     0.128785    -0.123942     0.162763      1  \n",
       "YS2016032101250     0.128785    -0.123942     0.162763      0  \n",
       "YS2016031801022     0.094295    -0.123942     0.162763      0  \n",
       "YS2016031801024     0.094295    -0.123942     0.162763      0  \n",
       "YS2016031500502     0.032428     0.003712    -0.015402      0  \n",
       "YS2016032101237     0.128785    -0.123942     0.162763      0  \n",
       "YS2016031600629     0.032428     0.003712    -0.015402      0  \n",
       "YS2016031600568     0.094295    -0.123942     0.162763      0  \n",
       "YS2016032101238     0.128785    -0.123942     0.162763      1  \n",
       "YS2016032201303     0.094295    -0.123942     0.162763      0  \n",
       "YS2016031600551     0.094295    -0.123942     0.162763      0  \n",
       "YS2016032201297     0.094295    -0.123942     0.162763      0  \n",
       "YS2016032802025     0.032428     0.003712    -0.015402      0  \n",
       "...                      ...          ...          ...    ...  \n",
       "YS20170626157155    0.094295    -0.123942     0.162763      1  \n",
       "YS20170626157146   -0.168394    -0.123942    -0.488474      0  \n",
       "YS20170627157220    0.128785     0.304171     0.228745      0  \n",
       "YS20170629157318   -0.168394    -0.123942    -0.488474      0  \n",
       "YS20170629157328   -0.168394    -0.123942    -0.488474      0  \n",
       "YS20170629157327   -0.168394    -0.123942    -0.488474      0  \n",
       "YS20170629157279    0.128785     0.304171     0.162763      0  \n",
       "YS20170630157335    0.128785     0.304171     0.228745      0  \n",
       "YS20170704157441   -0.168394    -0.123942    -0.488474      0  \n",
       "YS20170703157383    0.128785    -0.123942    -0.488474      0  \n",
       "YS20170703157387   -0.168394    -0.123942    -0.488474      0  \n",
       "YS20170703157436    0.128785     0.304171     0.228745      0  \n",
       "YS20170704157476   -0.168394     0.304171     0.228745      0  \n",
       "YS20170705157506    0.094295    -0.123942     0.162763      1  \n",
       "YS20170710157638    0.128785     0.304171     0.228745      0  \n",
       "YS20170720158084    0.128785     0.304171     0.228745      0  \n",
       "YS20170720158083    0.128785     0.304171     0.228745      0  \n",
       "YS20170707157614    0.128785    -0.123942     0.162763      1  \n",
       "YS20170710157700    0.128785    -0.123942    -0.488474      0  \n",
       "YS20170710157653   -0.168394     0.304171     0.228745      0  \n",
       "YS20170710157654   -0.168394     0.304171     0.228745      0  \n",
       "YS20170711157717   -0.168394    -0.123942    -0.488474      0  \n",
       "YS20170711157738   -0.168394     0.304171     0.228745      0  \n",
       "YS20170711157739   -0.168394     0.304171     0.228745      0  \n",
       "YS20170712157794   -0.168394     0.304171     0.228745      0  \n",
       "YS20170721158094   -0.168394     0.304171     0.228745      1  \n",
       "YS20170717157917    0.032428     0.304171     0.228745      0  \n",
       "YS20170717157918   -0.168394    -0.123942    -0.488474      0  \n",
       "YS20170724158174    0.128785     0.304171     0.228745      0  \n",
       "YS20170719158028    0.128785     0.304171     0.228745      0  \n",
       "\n",
       "[1391 rows x 46 columns]"
      ]
     },
     "execution_count": 15,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "#均值填充\n",
    "for col in samples_spss.columns:\n",
    "    samples_spss[col]=samples_spss[col].fillna(samples_spss[col].mean())\n",
    "tmp=['实收资本', '注册地址', '场地归属', '注册时间', '下游客户情况', '涉诉信息', '有无贷款','企业征信', '净资产', '流动比率', '资产负债率', '货币资金', '主营业务利润率', '应收账款周转天数','存货周转天数', '季度逾期占比', '季度平均逾期天数', '历史_逾期占比', '历史_提前还款占比','季度提前还款占比', '历史_平均逾期天数', '平均逾期天数变化', '逾期占比变化', '订单总数', '交易额总量','历史_交易稳定性', '交易量最小值', '交易总量', '交易额最小值', '交易额方差', '交易量方差','提前还款占比变化', '历史_账期订单交易量均值', '历史_交易额均值', '历史_账期订单交易额均值', '交易额最大值','交易额均值', '交易稳定性', '历史_最近连续交易月数', '历史_账期合作时间（月）', '历史_交易总量', '历史_交易额总量', '订单时间间隔均值变化', '账期订单交易量均值变化', '账期订单交易额均值变化','label']\n",
    "samples_spss =samples_spss[tmp]\n",
    "samples_spss.to_csv('./out1/samples_for_card_fillna_mean.csv')\n",
    "samples_spss"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "Index([u'实收资本', u'注册地址', u'场地归属', u'注册时间', u'下游客户情况', u'涉诉信息', u'有无贷款',\n",
       "       u'企业征信', u'净资产', u'流动比率', u'资产负债率', u'货币资金', u'主营业务利润率', u'应收账款周转天数',\n",
       "       u'存货周转天数', u'季度逾期占比', u'季度平均逾期天数', u'历史_逾期占比', u'历史_提前还款占比',\n",
       "       u'季度提前还款占比', u'历史_平均逾期天数', u'平均逾期天数变化', u'逾期占比变化', u'订单总数', u'交易额总量',\n",
       "       u'历史_交易稳定性', u'交易量最小值', u'交易总量', u'交易额最小值', u'交易额方差', u'交易量方差',\n",
       "       u'提前还款占比变化', u'历史_账期订单交易量均值', u'历史_交易额均值', u'历史_账期订单交易额均值', u'交易额最大值',\n",
       "       u'交易额均值', u'交易稳定性', u'历史_最近连续交易月数', u'历史_账期合作时间（月）', u'label',\n",
       "       u'历史_交易总量', u'历史_交易额总量', u'订单时间间隔均值变化', u'账期订单交易量均值变化', u'账期订单交易额均值变化'],\n",
       "      dtype='object')"
      ]
     },
     "execution_count": 13,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "samples_spss.columns"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 老客户样本"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 23,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "(1288, 65)"
      ]
     },
     "execution_count": 23,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "indexs = ['订单总数','订单时间间隔均值（天）','订单时间间隔方差（天）','交易总量','交易量最大值','交易量最小值','交易量方差',\n",
    "          '交易量均值','交易额总量','交易额最大值','交易额最小值','交易额方差','交易额均值','交易稳定性',\n",
    "          '账期订单占比','账期订单交易量均值','账期订单交易额均值']\n",
    "old_cos = zq_3m.dropna(subset=indexs)\n",
    "old_cos.to_csv('./new_out/old_custom_samples_3m.csv')\n",
    "old_cos.shape"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 24,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style>\n",
       "    .dataframe thead tr:only-child th {\n",
       "        text-align: right;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: left;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>注册地址</th>\n",
       "      <th>注册资本变更</th>\n",
       "      <th>法人变更</th>\n",
       "      <th>分支机构</th>\n",
       "      <th>商标专利</th>\n",
       "      <th>场地归属</th>\n",
       "      <th>有无贷款</th>\n",
       "      <th>企业征信</th>\n",
       "      <th>涉诉信息</th>\n",
       "      <th>下游客户情况</th>\n",
       "      <th>...</th>\n",
       "      <th>历史_平均逾期天数</th>\n",
       "      <th>订单时间间隔均值变化</th>\n",
       "      <th>交易额均值变化</th>\n",
       "      <th>交易稳定性变化</th>\n",
       "      <th>账期订单交易量均值变化</th>\n",
       "      <th>账期订单交易额均值变化</th>\n",
       "      <th>逾期占比变化</th>\n",
       "      <th>提前还款占比变化</th>\n",
       "      <th>平均逾期天数变化</th>\n",
       "      <th>label</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.046875</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.371899</td>\n",
       "      <td>0.427693</td>\n",
       "      <td>0.359601</td>\n",
       "      <td>0.282888</td>\n",
       "      <td>0.027778</td>\n",
       "      <td>-0.222222</td>\n",
       "      <td>0.368852</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.046875</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.380545</td>\n",
       "      <td>0.427962</td>\n",
       "      <td>0.371286</td>\n",
       "      <td>0.294310</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.250000</td>\n",
       "      <td>0.368852</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.046875</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.379655</td>\n",
       "      <td>0.427875</td>\n",
       "      <td>0.371286</td>\n",
       "      <td>0.294310</td>\n",
       "      <td>0.047619</td>\n",
       "      <td>-0.285714</td>\n",
       "      <td>0.368852</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.062500</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.388602</td>\n",
       "      <td>0.428424</td>\n",
       "      <td>0.371286</td>\n",
       "      <td>0.294310</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.393443</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.171875</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.370446</td>\n",
       "      <td>0.428874</td>\n",
       "      <td>0.345199</td>\n",
       "      <td>0.272994</td>\n",
       "      <td>-0.125000</td>\n",
       "      <td>0.166667</td>\n",
       "      <td>0.467213</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.156250</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.370446</td>\n",
       "      <td>0.428874</td>\n",
       "      <td>0.345199</td>\n",
       "      <td>0.272994</td>\n",
       "      <td>-0.168831</td>\n",
       "      <td>0.207792</td>\n",
       "      <td>0.467213</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.156250</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.381625</td>\n",
       "      <td>0.427586</td>\n",
       "      <td>0.371286</td>\n",
       "      <td>0.294310</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.393443</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>30</th>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.156250</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.381625</td>\n",
       "      <td>0.427586</td>\n",
       "      <td>0.371286</td>\n",
       "      <td>0.294310</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.393443</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>31</th>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.156250</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.387302</td>\n",
       "      <td>0.427460</td>\n",
       "      <td>0.371286</td>\n",
       "      <td>0.294310</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.393443</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>32</th>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.156250</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.399162</td>\n",
       "      <td>0.428234</td>\n",
       "      <td>0.371286</td>\n",
       "      <td>0.294310</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.393443</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>33</th>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.101562</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.399162</td>\n",
       "      <td>0.428234</td>\n",
       "      <td>0.371286</td>\n",
       "      <td>0.294310</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.393443</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>34</th>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.156250</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.399162</td>\n",
       "      <td>0.428234</td>\n",
       "      <td>0.371286</td>\n",
       "      <td>0.294310</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.393443</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35</th>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.125000</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.436936</td>\n",
       "      <td>0.426678</td>\n",
       "      <td>0.371286</td>\n",
       "      <td>0.294310</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.393443</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>36</th>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.125000</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.388602</td>\n",
       "      <td>0.428424</td>\n",
       "      <td>0.371286</td>\n",
       "      <td>0.294310</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.393443</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>37</th>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.046875</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.388602</td>\n",
       "      <td>0.428424</td>\n",
       "      <td>0.371286</td>\n",
       "      <td>0.294310</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.393443</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>40</th>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.031250</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.395902</td>\n",
       "      <td>0.427603</td>\n",
       "      <td>0.371286</td>\n",
       "      <td>0.294310</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.393443</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>41</th>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.031250</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.395177</td>\n",
       "      <td>0.427297</td>\n",
       "      <td>0.371286</td>\n",
       "      <td>0.294310</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.393443</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>42</th>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.031250</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.395758</td>\n",
       "      <td>0.426666</td>\n",
       "      <td>0.371286</td>\n",
       "      <td>0.294310</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.393443</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>43</th>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.031250</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.388602</td>\n",
       "      <td>0.428424</td>\n",
       "      <td>0.371286</td>\n",
       "      <td>0.294310</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.393443</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>44</th>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.031250</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.388602</td>\n",
       "      <td>0.428424</td>\n",
       "      <td>0.371286</td>\n",
       "      <td>0.294310</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.393443</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>45</th>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.092218</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.388602</td>\n",
       "      <td>0.428424</td>\n",
       "      <td>0.371286</td>\n",
       "      <td>0.294310</td>\n",
       "      <td>0.007882</td>\n",
       "      <td>-0.002046</td>\n",
       "      <td>0.390475</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>46</th>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.092218</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.388602</td>\n",
       "      <td>0.428424</td>\n",
       "      <td>0.371286</td>\n",
       "      <td>0.294310</td>\n",
       "      <td>0.007882</td>\n",
       "      <td>-0.002046</td>\n",
       "      <td>0.390475</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>47</th>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.093750</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.409461</td>\n",
       "      <td>0.426803</td>\n",
       "      <td>0.371286</td>\n",
       "      <td>0.294310</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.393443</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>48</th>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.125000</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.439138</td>\n",
       "      <td>0.424773</td>\n",
       "      <td>0.371286</td>\n",
       "      <td>0.294310</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.393443</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>49</th>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.125000</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.454621</td>\n",
       "      <td>0.424529</td>\n",
       "      <td>0.371286</td>\n",
       "      <td>0.294310</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.393443</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>50</th>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.125000</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.454621</td>\n",
       "      <td>0.424529</td>\n",
       "      <td>0.371286</td>\n",
       "      <td>0.294310</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.393443</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>52</th>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.460873</td>\n",
       "      <td>0.431566</td>\n",
       "      <td>0.418959</td>\n",
       "      <td>0.334383</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.166667</td>\n",
       "      <td>0.393443</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>53</th>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.398440</td>\n",
       "      <td>0.427300</td>\n",
       "      <td>0.364135</td>\n",
       "      <td>0.274718</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.200000</td>\n",
       "      <td>0.393443</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>54</th>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.394674</td>\n",
       "      <td>0.426049</td>\n",
       "      <td>0.371286</td>\n",
       "      <td>0.294310</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.250000</td>\n",
       "      <td>0.393443</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>55</th>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.388602</td>\n",
       "      <td>0.428424</td>\n",
       "      <td>0.371286</td>\n",
       "      <td>0.294310</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.393443</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1046</th>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.118056</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.379436</td>\n",
       "      <td>0.426176</td>\n",
       "      <td>0.375697</td>\n",
       "      <td>0.268560</td>\n",
       "      <td>0.181818</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.394536</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1047</th>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.125000</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.379436</td>\n",
       "      <td>0.426176</td>\n",
       "      <td>0.375697</td>\n",
       "      <td>0.268560</td>\n",
       "      <td>0.200000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.405738</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1048</th>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.138393</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.419122</td>\n",
       "      <td>0.427250</td>\n",
       "      <td>0.378420</td>\n",
       "      <td>0.315041</td>\n",
       "      <td>0.222222</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.441218</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1064</th>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.031250</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.376336</td>\n",
       "      <td>0.428672</td>\n",
       "      <td>0.359447</td>\n",
       "      <td>0.278422</td>\n",
       "      <td>-0.200000</td>\n",
       "      <td>0.200000</td>\n",
       "      <td>0.344262</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1065</th>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.031250</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.375571</td>\n",
       "      <td>0.428708</td>\n",
       "      <td>0.357602</td>\n",
       "      <td>0.277430</td>\n",
       "      <td>-0.222222</td>\n",
       "      <td>0.277778</td>\n",
       "      <td>0.344262</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1066</th>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.031250</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.374286</td>\n",
       "      <td>0.428777</td>\n",
       "      <td>0.355426</td>\n",
       "      <td>0.275765</td>\n",
       "      <td>-0.250000</td>\n",
       "      <td>0.300000</td>\n",
       "      <td>0.344262</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1107</th>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.072917</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.388602</td>\n",
       "      <td>0.428424</td>\n",
       "      <td>0.371286</td>\n",
       "      <td>0.294310</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.393443</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1108</th>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.093750</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.388602</td>\n",
       "      <td>0.428424</td>\n",
       "      <td>0.371286</td>\n",
       "      <td>0.294310</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.393443</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1222</th>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.256944</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.387444</td>\n",
       "      <td>0.427598</td>\n",
       "      <td>0.382343</td>\n",
       "      <td>0.306577</td>\n",
       "      <td>0.181818</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.210383</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1223</th>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.246094</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.390140</td>\n",
       "      <td>0.427713</td>\n",
       "      <td>0.383216</td>\n",
       "      <td>0.309630</td>\n",
       "      <td>-0.085714</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.281557</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1224</th>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.272321</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.392373</td>\n",
       "      <td>0.428062</td>\n",
       "      <td>0.383629</td>\n",
       "      <td>0.312809</td>\n",
       "      <td>-0.111111</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.284543</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1225</th>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.312500</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.392373</td>\n",
       "      <td>0.428062</td>\n",
       "      <td>0.383629</td>\n",
       "      <td>0.312809</td>\n",
       "      <td>-0.150000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.311475</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1227</th>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.289062</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.367019</td>\n",
       "      <td>0.426912</td>\n",
       "      <td>0.340000</td>\n",
       "      <td>0.274637</td>\n",
       "      <td>-0.066667</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.446721</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1234</th>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.118056</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.405056</td>\n",
       "      <td>0.427546</td>\n",
       "      <td>0.385193</td>\n",
       "      <td>0.314390</td>\n",
       "      <td>0.095588</td>\n",
       "      <td>-0.102941</td>\n",
       "      <td>0.266667</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1289</th>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.388602</td>\n",
       "      <td>0.428424</td>\n",
       "      <td>0.371286</td>\n",
       "      <td>0.294310</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.393443</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1293</th>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.031250</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.364607</td>\n",
       "      <td>0.428331</td>\n",
       "      <td>0.367444</td>\n",
       "      <td>0.263226</td>\n",
       "      <td>-0.200000</td>\n",
       "      <td>0.100000</td>\n",
       "      <td>0.344262</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1294</th>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.031250</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.377626</td>\n",
       "      <td>0.427764</td>\n",
       "      <td>0.371166</td>\n",
       "      <td>0.280092</td>\n",
       "      <td>-0.250000</td>\n",
       "      <td>-0.250000</td>\n",
       "      <td>0.344262</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1295</th>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.031250</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.388602</td>\n",
       "      <td>0.428424</td>\n",
       "      <td>0.371286</td>\n",
       "      <td>0.294310</td>\n",
       "      <td>0.166667</td>\n",
       "      <td>-0.333333</td>\n",
       "      <td>0.393443</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1296</th>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.031250</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.388602</td>\n",
       "      <td>0.428424</td>\n",
       "      <td>0.371286</td>\n",
       "      <td>0.294310</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.393443</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1344</th>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.388602</td>\n",
       "      <td>0.428424</td>\n",
       "      <td>0.371286</td>\n",
       "      <td>0.294310</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.393443</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1345</th>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.388602</td>\n",
       "      <td>0.428424</td>\n",
       "      <td>0.371286</td>\n",
       "      <td>0.294310</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.393443</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1350</th>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.281250</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.392938</td>\n",
       "      <td>0.439451</td>\n",
       "      <td>0.320207</td>\n",
       "      <td>0.299928</td>\n",
       "      <td>0.125000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.885246</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1351</th>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.289062</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.392938</td>\n",
       "      <td>0.439451</td>\n",
       "      <td>0.320207</td>\n",
       "      <td>0.299928</td>\n",
       "      <td>-0.050000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.741803</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1352</th>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.281250</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.392938</td>\n",
       "      <td>0.439451</td>\n",
       "      <td>0.320207</td>\n",
       "      <td>0.299928</td>\n",
       "      <td>0.125000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.885246</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1353</th>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.197917</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.379338</td>\n",
       "      <td>0.435378</td>\n",
       "      <td>0.332368</td>\n",
       "      <td>0.282310</td>\n",
       "      <td>0.142857</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.745902</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1354</th>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.156250</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.388602</td>\n",
       "      <td>0.428424</td>\n",
       "      <td>0.371286</td>\n",
       "      <td>0.294310</td>\n",
       "      <td>0.166667</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.508197</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1355</th>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.085938</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.388602</td>\n",
       "      <td>0.428424</td>\n",
       "      <td>0.371286</td>\n",
       "      <td>0.294310</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.393443</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1356</th>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.041667</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.388602</td>\n",
       "      <td>0.428424</td>\n",
       "      <td>0.371286</td>\n",
       "      <td>0.294310</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.393443</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1357</th>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.046875</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.388602</td>\n",
       "      <td>0.428424</td>\n",
       "      <td>0.371286</td>\n",
       "      <td>0.294310</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.393443</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1358</th>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.046875</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.388602</td>\n",
       "      <td>0.428424</td>\n",
       "      <td>0.371286</td>\n",
       "      <td>0.294310</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.393443</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>1288 rows × 65 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "      注册地址  注册资本变更  法人变更  分支机构  商标专利  场地归属  有无贷款  企业征信  涉诉信息  下游客户情况  ...    \\\n",
       "10     0.0     0.0   0.0   0.0   0.0   0.0   1.0   3.0   0.0     2.0  ...     \n",
       "11     0.0     0.0   0.0   0.0   0.0   0.0   1.0   3.0   0.0     2.0  ...     \n",
       "12     0.0     0.0   0.0   0.0   0.0   0.0   1.0   3.0   0.0     2.0  ...     \n",
       "14     0.0     0.0   0.0   0.0   0.0   0.0   1.0   3.0   0.0     2.0  ...     \n",
       "27     0.0     0.0   0.0   1.0   1.0   1.0   1.0   3.0   1.0     2.0  ...     \n",
       "28     0.0     0.0   0.0   1.0   1.0   1.0   1.0   3.0   1.0     2.0  ...     \n",
       "29     0.0     0.0   0.0   1.0   1.0   1.0   1.0   3.0   1.0     2.0  ...     \n",
       "30     0.0     0.0   0.0   1.0   1.0   1.0   1.0   3.0   1.0     2.0  ...     \n",
       "31     0.0     0.0   0.0   1.0   1.0   1.0   1.0   3.0   1.0     2.0  ...     \n",
       "32     0.0     0.0   0.0   1.0   1.0   1.0   1.0   3.0   1.0     2.0  ...     \n",
       "33     0.0     0.0   0.0   1.0   1.0   1.0   1.0   3.0   1.0     2.0  ...     \n",
       "34     0.0     0.0   0.0   1.0   1.0   1.0   1.0   3.0   1.0     2.0  ...     \n",
       "35     0.0     0.0   0.0   1.0   1.0   1.0   1.0   3.0   1.0     2.0  ...     \n",
       "36     0.0     0.0   0.0   1.0   1.0   1.0   1.0   3.0   1.0     2.0  ...     \n",
       "37     0.0     0.0   0.0   1.0   1.0   1.0   1.0   3.0   1.0     2.0  ...     \n",
       "40     1.0     0.0   0.0   0.0   1.0   0.0   1.0   1.0   1.0     0.0  ...     \n",
       "41     1.0     0.0   0.0   0.0   1.0   0.0   1.0   1.0   1.0     0.0  ...     \n",
       "42     1.0     0.0   0.0   0.0   1.0   0.0   1.0   1.0   1.0     0.0  ...     \n",
       "43     1.0     0.0   0.0   0.0   1.0   0.0   1.0   1.0   1.0     0.0  ...     \n",
       "44     1.0     0.0   0.0   0.0   1.0   0.0   1.0   1.0   1.0     0.0  ...     \n",
       "45     1.0     0.0   0.0   0.0   1.0   0.0   1.0   1.0   1.0     0.0  ...     \n",
       "46     1.0     0.0   0.0   0.0   1.0   0.0   1.0   1.0   1.0     0.0  ...     \n",
       "47     0.0     0.0   0.0   0.0   0.0   0.0   0.0   0.0   0.0     0.0  ...     \n",
       "48     0.0     0.0   0.0   0.0   0.0   0.0   0.0   0.0   0.0     0.0  ...     \n",
       "49     0.0     0.0   0.0   0.0   0.0   0.0   0.0   0.0   0.0     0.0  ...     \n",
       "50     0.0     0.0   0.0   0.0   0.0   0.0   0.0   0.0   0.0     0.0  ...     \n",
       "52     1.0     0.0   0.0   0.0   0.0   1.0   0.0   0.0   0.0     0.0  ...     \n",
       "53     1.0     0.0   0.0   0.0   0.0   1.0   0.0   0.0   0.0     0.0  ...     \n",
       "54     1.0     0.0   0.0   0.0   0.0   1.0   0.0   0.0   0.0     0.0  ...     \n",
       "55     1.0     0.0   0.0   0.0   0.0   1.0   0.0   0.0   0.0     0.0  ...     \n",
       "...    ...     ...   ...   ...   ...   ...   ...   ...   ...     ...  ...     \n",
       "1046   0.0     0.0   1.0   0.0   0.0   0.0   0.0   0.0   0.0     0.0  ...     \n",
       "1047   0.0     0.0   1.0   0.0   0.0   0.0   0.0   0.0   0.0     0.0  ...     \n",
       "1048   0.0     0.0   1.0   0.0   0.0   0.0   0.0   0.0   0.0     0.0  ...     \n",
       "1064   1.0     1.0   0.0   0.0   1.0   1.0   1.0   1.0   0.0     2.0  ...     \n",
       "1065   1.0     1.0   0.0   0.0   1.0   1.0   1.0   1.0   0.0     2.0  ...     \n",
       "1066   1.0     1.0   0.0   0.0   1.0   1.0   1.0   1.0   0.0     2.0  ...     \n",
       "1107   0.0     0.0   0.0   0.0   0.0   0.0   1.0   1.0   0.0     2.0  ...     \n",
       "1108   0.0     0.0   0.0   0.0   0.0   0.0   1.0   1.0   0.0     2.0  ...     \n",
       "1222   0.0     0.0   0.0   0.0   0.0   0.0   0.0   0.0   0.0     0.0  ...     \n",
       "1223   0.0     0.0   0.0   0.0   0.0   0.0   0.0   0.0   0.0     0.0  ...     \n",
       "1224   0.0     0.0   0.0   0.0   0.0   0.0   0.0   0.0   0.0     0.0  ...     \n",
       "1225   0.0     0.0   0.0   0.0   0.0   0.0   0.0   0.0   0.0     0.0  ...     \n",
       "1227   0.0     0.0   0.0   0.0   0.0   0.0   0.0   0.0   0.0     0.0  ...     \n",
       "1234   1.0     0.0   1.0   0.0   1.0   1.0   0.0   0.0   0.0     0.0  ...     \n",
       "1289   1.0     0.0   0.0   1.0   1.0   0.0   1.0   1.0   0.0     2.0  ...     \n",
       "1293   0.0     0.0   1.0   0.0   0.0   0.0   0.0   0.0   0.0     4.0  ...     \n",
       "1294   0.0     0.0   1.0   0.0   0.0   0.0   0.0   0.0   0.0     4.0  ...     \n",
       "1295   0.0     0.0   1.0   0.0   0.0   0.0   0.0   0.0   0.0     4.0  ...     \n",
       "1296   0.0     0.0   1.0   0.0   0.0   0.0   0.0   0.0   0.0     4.0  ...     \n",
       "1344   1.0     1.0   0.0   1.0   0.0   1.0   1.0   1.0   0.0     0.0  ...     \n",
       "1345   1.0     1.0   0.0   1.0   0.0   1.0   1.0   1.0   0.0     0.0  ...     \n",
       "1350   0.0     0.0   0.0   0.0   0.0   0.0   0.0   0.0   0.0     0.0  ...     \n",
       "1351   0.0     0.0   0.0   0.0   0.0   0.0   0.0   0.0   0.0     0.0  ...     \n",
       "1352   0.0     0.0   0.0   0.0   0.0   0.0   0.0   0.0   0.0     0.0  ...     \n",
       "1353   0.0     0.0   0.0   0.0   0.0   0.0   0.0   0.0   0.0     0.0  ...     \n",
       "1354   0.0     0.0   0.0   0.0   0.0   0.0   0.0   0.0   0.0     0.0  ...     \n",
       "1355   0.0     0.0   0.0   0.0   0.0   0.0   0.0   0.0   0.0     0.0  ...     \n",
       "1356   0.0     0.0   0.0   0.0   0.0   0.0   0.0   0.0   0.0     0.0  ...     \n",
       "1357   0.0     0.0   0.0   0.0   0.0   0.0   0.0   0.0   0.0     0.0  ...     \n",
       "1358   0.0     0.0   0.0   0.0   0.0   0.0   0.0   0.0   0.0     0.0  ...     \n",
       "\n",
       "      历史_平均逾期天数  订单时间间隔均值变化   交易额均值变化   交易稳定性变化  账期订单交易量均值变化  账期订单交易额均值变化  \\\n",
       "10     0.046875         0.0  0.371899  0.427693     0.359601     0.282888   \n",
       "11     0.046875         0.0  0.380545  0.427962     0.371286     0.294310   \n",
       "12     0.046875         0.0  0.379655  0.427875     0.371286     0.294310   \n",
       "14     0.062500         0.0  0.388602  0.428424     0.371286     0.294310   \n",
       "27     0.171875         0.0  0.370446  0.428874     0.345199     0.272994   \n",
       "28     0.156250         0.0  0.370446  0.428874     0.345199     0.272994   \n",
       "29     0.156250         0.0  0.381625  0.427586     0.371286     0.294310   \n",
       "30     0.156250         0.0  0.381625  0.427586     0.371286     0.294310   \n",
       "31     0.156250         0.0  0.387302  0.427460     0.371286     0.294310   \n",
       "32     0.156250         0.0  0.399162  0.428234     0.371286     0.294310   \n",
       "33     0.101562         0.0  0.399162  0.428234     0.371286     0.294310   \n",
       "34     0.156250         0.0  0.399162  0.428234     0.371286     0.294310   \n",
       "35     0.125000         0.0  0.436936  0.426678     0.371286     0.294310   \n",
       "36     0.125000         0.0  0.388602  0.428424     0.371286     0.294310   \n",
       "37     0.046875         0.0  0.388602  0.428424     0.371286     0.294310   \n",
       "40     0.031250         0.0  0.395902  0.427603     0.371286     0.294310   \n",
       "41     0.031250         0.0  0.395177  0.427297     0.371286     0.294310   \n",
       "42     0.031250         0.0  0.395758  0.426666     0.371286     0.294310   \n",
       "43     0.031250         0.0  0.388602  0.428424     0.371286     0.294310   \n",
       "44     0.031250         0.0  0.388602  0.428424     0.371286     0.294310   \n",
       "45     0.092218         0.0  0.388602  0.428424     0.371286     0.294310   \n",
       "46     0.092218         0.0  0.388602  0.428424     0.371286     0.294310   \n",
       "47     0.093750         0.0  0.409461  0.426803     0.371286     0.294310   \n",
       "48     0.125000         0.0  0.439138  0.424773     0.371286     0.294310   \n",
       "49     0.125000         0.0  0.454621  0.424529     0.371286     0.294310   \n",
       "50     0.125000         0.0  0.454621  0.424529     0.371286     0.294310   \n",
       "52     0.000000         0.0  0.460873  0.431566     0.418959     0.334383   \n",
       "53     0.000000         0.0  0.398440  0.427300     0.364135     0.274718   \n",
       "54     0.000000         0.0  0.394674  0.426049     0.371286     0.294310   \n",
       "55     0.000000         0.0  0.388602  0.428424     0.371286     0.294310   \n",
       "...         ...         ...       ...       ...          ...          ...   \n",
       "1046   0.118056         0.0  0.379436  0.426176     0.375697     0.268560   \n",
       "1047   0.125000         0.0  0.379436  0.426176     0.375697     0.268560   \n",
       "1048   0.138393         0.0  0.419122  0.427250     0.378420     0.315041   \n",
       "1064   0.031250         0.0  0.376336  0.428672     0.359447     0.278422   \n",
       "1065   0.031250         0.0  0.375571  0.428708     0.357602     0.277430   \n",
       "1066   0.031250         0.0  0.374286  0.428777     0.355426     0.275765   \n",
       "1107   0.072917         0.0  0.388602  0.428424     0.371286     0.294310   \n",
       "1108   0.093750         0.0  0.388602  0.428424     0.371286     0.294310   \n",
       "1222   0.256944         0.0  0.387444  0.427598     0.382343     0.306577   \n",
       "1223   0.246094         0.0  0.390140  0.427713     0.383216     0.309630   \n",
       "1224   0.272321         0.0  0.392373  0.428062     0.383629     0.312809   \n",
       "1225   0.312500         0.0  0.392373  0.428062     0.383629     0.312809   \n",
       "1227   0.289062         0.0  0.367019  0.426912     0.340000     0.274637   \n",
       "1234   0.118056         0.0  0.405056  0.427546     0.385193     0.314390   \n",
       "1289   0.000000         0.0  0.388602  0.428424     0.371286     0.294310   \n",
       "1293   0.031250         0.0  0.364607  0.428331     0.367444     0.263226   \n",
       "1294   0.031250         0.0  0.377626  0.427764     0.371166     0.280092   \n",
       "1295   0.031250         0.0  0.388602  0.428424     0.371286     0.294310   \n",
       "1296   0.031250         0.0  0.388602  0.428424     0.371286     0.294310   \n",
       "1344   1.000000         0.0  0.388602  0.428424     0.371286     0.294310   \n",
       "1345   1.000000         0.0  0.388602  0.428424     0.371286     0.294310   \n",
       "1350   0.281250         0.0  0.392938  0.439451     0.320207     0.299928   \n",
       "1351   0.289062         0.0  0.392938  0.439451     0.320207     0.299928   \n",
       "1352   0.281250         0.0  0.392938  0.439451     0.320207     0.299928   \n",
       "1353   0.197917         0.0  0.379338  0.435378     0.332368     0.282310   \n",
       "1354   0.156250         0.0  0.388602  0.428424     0.371286     0.294310   \n",
       "1355   0.085938         0.0  0.388602  0.428424     0.371286     0.294310   \n",
       "1356   0.041667         0.0  0.388602  0.428424     0.371286     0.294310   \n",
       "1357   0.046875         0.0  0.388602  0.428424     0.371286     0.294310   \n",
       "1358   0.046875         0.0  0.388602  0.428424     0.371286     0.294310   \n",
       "\n",
       "        逾期占比变化  提前还款占比变化  平均逾期天数变化  label  \n",
       "10    0.027778 -0.222222  0.368852      0  \n",
       "11    0.000000 -0.250000  0.368852      0  \n",
       "12    0.047619 -0.285714  0.368852      0  \n",
       "14    0.000000  0.000000  0.393443      0  \n",
       "27   -0.125000  0.166667  0.467213      1  \n",
       "28   -0.168831  0.207792  0.467213      1  \n",
       "29    0.000000  0.000000  0.393443      0  \n",
       "30    0.000000  0.000000  0.393443      0  \n",
       "31    0.000000  0.000000  0.393443      0  \n",
       "32    0.000000  0.000000  0.393443      0  \n",
       "33    0.000000  0.000000  0.393443      1  \n",
       "34    0.000000  0.000000  0.393443      0  \n",
       "35    0.000000  0.000000  0.393443      0  \n",
       "36    0.000000  0.000000  0.393443      0  \n",
       "37    0.000000  0.000000  0.393443      1  \n",
       "40    0.000000  0.000000  0.393443      0  \n",
       "41    0.000000  0.000000  0.393443      0  \n",
       "42    0.000000  0.000000  0.393443      0  \n",
       "43    0.000000  0.000000  0.393443      0  \n",
       "44    0.000000  0.000000  0.393443      0  \n",
       "45    0.007882 -0.002046  0.390475      0  \n",
       "46    0.007882 -0.002046  0.390475      0  \n",
       "47    0.000000  0.000000  0.393443      0  \n",
       "48    0.000000  0.000000  0.393443      0  \n",
       "49    0.000000  0.000000  0.393443      0  \n",
       "50    0.000000  0.000000  0.393443      0  \n",
       "52    0.000000  0.166667  0.393443      0  \n",
       "53    0.000000  0.200000  0.393443      0  \n",
       "54    0.000000  0.250000  0.393443      0  \n",
       "55    0.000000  0.000000  0.393443      0  \n",
       "...        ...       ...       ...    ...  \n",
       "1046  0.181818  0.000000  0.394536      0  \n",
       "1047  0.200000  0.000000  0.405738      0  \n",
       "1048  0.222222  0.000000  0.441218      0  \n",
       "1064 -0.200000  0.200000  0.344262      0  \n",
       "1065 -0.222222  0.277778  0.344262      0  \n",
       "1066 -0.250000  0.300000  0.344262      0  \n",
       "1107  0.000000  0.000000  0.393443      1  \n",
       "1108  0.000000  0.000000  0.393443      0  \n",
       "1222  0.181818  0.000000  0.210383      0  \n",
       "1223 -0.085714  0.000000  0.281557      1  \n",
       "1224 -0.111111  0.000000  0.284543      0  \n",
       "1225 -0.150000  0.000000  0.311475      0  \n",
       "1227 -0.066667  0.000000  0.446721      1  \n",
       "1234  0.095588 -0.102941  0.266667      0  \n",
       "1289  0.000000  0.000000  0.393443      0  \n",
       "1293 -0.200000  0.100000  0.344262      0  \n",
       "1294 -0.250000 -0.250000  0.344262      0  \n",
       "1295  0.166667 -0.333333  0.393443      0  \n",
       "1296  0.000000  0.000000  0.393443      0  \n",
       "1344  0.000000  0.000000  0.393443      1  \n",
       "1345  0.000000  0.000000  0.393443      1  \n",
       "1350  0.125000  0.000000  0.885246      0  \n",
       "1351 -0.050000  0.000000  0.741803      0  \n",
       "1352  0.125000  0.000000  0.885246      1  \n",
       "1353  0.142857  0.000000  0.745902      1  \n",
       "1354  0.166667  0.000000  0.508197      1  \n",
       "1355  0.000000  0.000000  0.393443      1  \n",
       "1356  0.000000  0.000000  0.393443      1  \n",
       "1357  0.000000  0.000000  0.393443      0  \n",
       "1358  0.000000  0.000000  0.393443      0  \n",
       "\n",
       "[1288 rows x 65 columns]"
      ]
     },
     "execution_count": 24,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "#季度-老客户\n",
    "old_cos_3m = fillna_nor(old_cos)\n",
    "old_cos_3m.to_csv('./new_out/old_custom_samples_3m_fillna_nor.csv',index=None)\n",
    "old_cos_3m.head()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 订单样本"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "(1430, 63)"
      ]
     },
     "execution_count": 9,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "#账期订单特征\n",
    "feature_trade = pd.read_csv('./data/zq_feature_trade.csv',index_col=0)\n",
    "feature_loan = pd.read_csv('./data/loan_all.csv')\n",
    "feature_base = pd.read_csv('./data/features_card.csv',index_col=0)\n",
    "tmp = feature_loan[['应收单号','客户','收款状态','4天以内占比', '5-10天占比', '11天以上占比','逾期占比','提前还款占比','yq_day',\n",
    "                    'zq_day','平均逾期天数']]\n",
    "feature_all = feature_trade.merge(tmp,left_index=True,right_on='应收单号',how='left')\n",
    "feature_all =feature_base.merge(feature_all,left_index=True,right_on='客户',how='right')\n",
    "feature_all.shape"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "/home/sf/anaconda2/lib/python2.7/site-packages/ipykernel/__main__.py:9: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy\n",
      "/home/sf/anaconda2/lib/python2.7/site-packages/ipykernel/__main__.py:10: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy\n",
      "/home/sf/anaconda2/lib/python2.7/site-packages/ipykernel/__main__.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy\n"
     ]
    },
    {
     "data": {
      "text/plain": [
       "(1391, 60)"
      ]
     },
     "execution_count": 10,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "#label_分账期\n",
    "feature_all =feature_all[feature_all['收款状态']=='已收款']\n",
    "tmp_col = ['客户','应收单号','收款状态','yq_day']\n",
    "zq_all =label_zq(feature_all,tmp_col)\n",
    "zq_all.to_csv('./new_out/samples_all.csv')\n",
    "zq_all.shape"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 23,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "#订单样本\n",
    "zq_all_nor = fillna_nor(zq_all)\n",
    "zq_all_nor.to_csv('./new_out/samples_all_fillna_nor.csv',index=None)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "(1226, 60)"
      ]
     },
     "execution_count": 11,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "#老客户样本\n",
    "indexs = ['订单总数','合作时间（月）','最近交易（X月之前）','最近连续交易月数','采购断档总月数','订单时间间隔均值（天）','订单时间间隔方差（天）',\n",
    "          '交易总量','交易量最大值','交易量最小值','交易量方差','交易量均值','交易额总量','交易额最大值','交易额最小值','交易额方差','交易额均值',\n",
    "          '交易稳定性','供应商数量','采购产品种类数量',\n",
    "          '账期订单占比','账期订单交易量均值','账期订单交易额均值','账期合作时间（月）','最近一笔账期订单（X月之前）']\n",
    "old_cos_all = zq_all.dropna(subset=indexs)\n",
    "old_cos_all.to_csv('./new_out/old_custom_samples_all.csv')\n",
    "old_cos_all.shape"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 24,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "(1226, 60)"
      ]
     },
     "execution_count": 24,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "#老客户\n",
    "old_cos_nor = fillna_nor(old_cos_all)\n",
    "old_cos_nor.to_csv('./new_out/old_custom_samples_all_fillna_nor.csv',index=None)\n",
    "old_cos_nor.shape"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 2",
   "language": "python",
   "name": "python2"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 2
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython2",
   "version": "2.7.13"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 0
}
